Author: danydb
Date: 2011-12-27 14:12:47 +0100 (Tue, 27 Dec 2011)
New Revision: 4656

Modified:
   phpcompta/trunk/html/ajax_poste.php
Log:
bug : check ledger access instead of folder access

Modified: phpcompta/trunk/html/ajax_poste.php
===================================================================
--- phpcompta/trunk/html/ajax_poste.php 2011-12-27 11:29:57 UTC (rev 4655)
+++ phpcompta/trunk/html/ajax_poste.php 2011-12-27 13:12:47 UTC (rev 4656)
@@ -60,7 +60,7 @@
 include_once ("class_user.php");
 $User=new User($cn);
 $User->Check();
-if  ($User->get_ledger_access(dossier::id()) == 'X') exit();
+if  ($User->get_folder_access(dossier::id()) == 'X') exit();
 $xml="";
 
 switch ($op)


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to