phpcompta-dev
[Top][All Lists]
Advanced

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

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


From: phpcompta-dev
Subject: [Phpcompta-dev] r5479 - phpcompta/trunk/include
Date: Wed, 9 Oct 2013 19:07:34 +0200 (CEST)

Author: danydb
Date: 2013-10-09 19:07:34 +0200 (Wed, 09 Oct 2013)
New Revision: 5479

Modified:
   phpcompta/trunk/include/class_acc_ledger.php
Log:
Bug : ODS save each time a template

Modified: phpcompta/trunk/include/class_acc_ledger.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger.php        2013-10-08 18:38:59 UTC 
(rev 5478)
+++ phpcompta/trunk/include/class_acc_ledger.php        2013-10-09 17:07:34 UTC 
(rev 5479)
@@ -2090,7 +2090,7 @@
                        $this->internal = $internal;
                        // Save now the predef op
                        //------------------------
-                        if (isset ($opd_name)){
+                        if (isset ($opd_name) && trim($opd_name) != "" ){
                                $opd = new Pre_Op_Advanced($this->db);
                                $opd->get_post();
                                $opd->save();



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

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