[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc/class.sob_account.inc.php, 1.3
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/inc/class.sob_account.inc.php, 1.3 |
Date: |
Thu, 12 Aug 2004 20:56:23 +0200 |
Update of /property/inc
Modified Files:
Branch:
class.sob_account.inc.php
date: 2004/08/12 18:56:23; author: sigurdne; state: Exp; lines: +4 -3
Log Message:
no message
=====================================================================
Index: property/inc/class.sob_account.inc.php
diff -u property/inc/class.sob_account.inc.php:1.2
property/inc/class.sob_account.inc.php:1.3
--- property/inc/class.sob_account.inc.php:1.2 Wed Jun 2 18:54:28 2004
+++ property/inc/class.sob_account.inc.php Thu Aug 12 18:56:23 2004
@@ -103,6 +103,7 @@
$b_account['id'] =
$this->db->f('id');
$b_account['descr'] =
$this->db->f('descr');
$b_account['group'] =
$this->db->f('grouping');
+ $b_account['responsible'] =
$this->db->f('responsible');
return $b_account;
}
@@ -114,8 +115,8 @@
$b_account['descr'] =
$this->db->db_addslashes($b_account['descr']);
- $this->db->query("INSERT INTO $table (id,
descr,grouping) "
- . "VALUES ('" . $b_account['id'] . "','" .
$b_account['descr']. "','" . substr($b_account['id'],0,2) .
"')",__LINE__,__FILE__);
+ $this->db->query("INSERT INTO $table (id,
descr,grouping,responsible) "
+ . "VALUES ('" . $b_account['id'] . "','" .
$b_account['descr']. "','" . substr($b_account['id'],0,2) . "','" .
$b_account['responsible'] . "')",__LINE__,__FILE__);
$receipt['message'][]=array('msg'=>lang('budget account
%1 has been saved',$b_account['id']));
return $receipt;
@@ -128,7 +129,7 @@
$b_account['descr'] =
$this->db->db_addslashes($b_account['descr']);
- $this->db->query("UPDATE $table set descr='" .
$b_account['descr']
+ $this->db->query("UPDATE $table set descr='" .
$b_account['descr'] . "',responsible='" . $b_account['responsible']
. "' WHERE id='" .
$b_account['id']. "'",__LINE__,__FILE__);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc/class.sob_account.inc.php, 1.3,
nomail <=