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
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev