Author: danydb
Date: 2011-09-12 21:00:00 +0200 (Mon, 12 Sep 2011)
New Revision: 4195
Modified:
phpcompta/branches/rel560/html/access.php
Log:
fix bug when user has no ledger.
Modified: phpcompta/branches/rel560/html/access.php
===================================================================
--- phpcompta/branches/rel560/html/access.php 2011-09-02 07:51:23 UTC (rev
4194)
+++ phpcompta/branches/rel560/html/access.php 2011-09-12 19:00:00 UTC (rev
4195)
@@ -114,6 +114,7 @@
$cal=new Calendar();
$cal->get_preference();
$Ledger=new Acc_Ledger($cn,0);
+$last_ledger=array();
if ( $user->check_action(GESTION)==1)
{
$Operation=new Action($cn);
_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev