Author: danydb Date: 2011-12-20 17:36:57 +0100 (Tue, 20 Dec 2011) New Revision: 4644
Modified: phpcompta/trunk/html/ajax_ledger.php Log: #315 D?\195?\169tail article MY_UPDLAB == Y Ajax save : undefined g_parameter Modified: phpcompta/trunk/html/ajax_ledger.php =================================================================== --- phpcompta/trunk/html/ajax_ledger.php 2011-12-20 16:35:55 UTC (rev 4643) +++ phpcompta/trunk/html/ajax_ledger.php 2011-12-20 16:36:57 UTC (rev 4644) @@ -48,7 +48,7 @@ } global $g_parameter; - $g_parameter=new Own($cn); + $action=$_REQUEST['act']; $jr_id=$_REQUEST['jr_id']; $div=$_REQUEST['div']; /* the div source and target for javascript */ @@ -59,6 +59,7 @@ ajax_disconnected($div); $cn=new Database(dossier::id()); +$g_parameter=new Own($cn); // check if the user is valid and can access this folder $User=new User($cn); _______________________________________________ Phpcompta-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/phpcompta-dev
