phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/inc class.sobudget.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/inc class.sobudget.inc.php
Date: Tue, 11 Apr 2006 20:49:10 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Branch:         
Changes by:     Sigurd Nes <address@hidden>     06/04/11 20:49:10

Modified files:
        inc            : class.sobudget.inc.php 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/inc/class.sobudget.inc.php.diff?tr1=1.6&tr2=1.7&r1=text&r2=text

Patches:
Index: property/inc/class.sobudget.inc.php
diff -u property/inc/class.sobudget.inc.php:1.6 
property/inc/class.sobudget.inc.php:1.7
--- property/inc/class.sobudget.inc.php:1.6     Tue Apr 11 11:39:04 2006
+++ property/inc/class.sobudget.inc.php Tue Apr 11 20:49:10 2006
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage budget
-       * @version $Id: class.sobudget.inc.php,v 1.6 2006/04/11 11:39:04 
sigurdne Exp $
+       * @version $Id: class.sobudget.inc.php,v 1.7 2006/04/11 20:49:10 
sigurdne Exp $
        */
 
        /**
@@ -307,7 +307,6 @@
 
                        $receipt['budget_id']= $id;
 
-
                        $this->db->transaction_commit();
 
                        $receipt['message'][] = array('msg'=>lang('budget %1 
has been saved',$receipt['budget_id']));
@@ -470,6 +469,8 @@
                {
                        $year_condition = 'year in (' . 
implode(",",$values['distribute_year']). ')';
 
+                       $this->db->transaction_begin();
+                       
                        foreach ($values['distribute'] as $basis_id)
                        {
                                $this->db->query("SELECT * FROM fm_budget_basis 
where id='$basis_id'",__LINE__,__FILE__);
@@ -549,6 +550,7 @@
                                        }
                                }
                        }
+                       $this->db->transaction_commit();
                }
        }
 ?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]