Author: danydb
Date: 2012-03-21 23:01:43 +0100 (Wed, 21 Mar 2012)
New Revision: 4785
Modified:
phpcompta/tags/rel560_syndic/include/class_acc_reconciliation.php
Log:
do not insert an acc_reconciliation with 0
Modified: phpcompta/tags/rel560_syndic/include/class_acc_reconciliation.php
===================================================================
--- phpcompta/tags/rel560_syndic/include/class_acc_reconciliation.php
2012-03-21 10:41:25 UTC (rev 4784)
+++ phpcompta/tags/rel560_syndic/include/class_acc_reconciliation.php
2012-03-21 22:01:43 UTC (rev 4785)
@@ -101,7 +101,7 @@
*/
function insert_rapt($jr_id2)
{
- if ( isNumber($this->jr_id) == 0 || isNumber($jr_id2) == 0 )
+ if ( isNumber($this->jr_id) == 0 || isNumber($jr_id2) == 0 ||
$jr_id2==0)
{
return false;
}
---
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