phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4557 - phpcompta/trunk/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r4557 - phpcompta/trunk/include
Date: Sun, 4 Dec 2011 22:26:25 +0100 (CET)

Author: danydb
Date: 2011-12-04 22:26:23 +0100 (Sun, 04 Dec 2011)
New Revision: 4557

Modified:
   phpcompta/trunk/include/class_acc_ledger.php
Log:
potential bug  [ if ($this->id=-1)  ] is not a test

Modified: phpcompta/trunk/include/class_acc_ledger.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger.php        2011-12-04 21:25:21 UTC 
(rev 4556)
+++ phpcompta/trunk/include/class_acc_ledger.php        2011-12-04 21:26:23 UTC 
(rev 4557)
@@ -2345,7 +2345,7 @@
         /* input poste comptable */
         $f_accounting=new IPoste('accounting');
         
$f_accounting->value=(isset($_REQUEST['accounting']))?$_REQUEST['accounting']:'';
-        if ( $this->id=-1) $jrn=0;
+        if ( $this->id==-1) $jrn=0;
         else $jrn=$this->id;
         $f_accounting->set_attribute('jrn',$jrn);
         $f_accounting->set_attribute('ipopup','ipop_account');




reply via email to

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