From 682781e02c6fd264b0dab4206f4cb5db36cb606b Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 20 Dec 2011 16:36:57 +0000 Subject: [PATCH] =?UTF-8?q?#315=20D=C3=A9tail=20article=20MY=5FUPDLAB=20?= =?UTF-8?q?=3D=3D=20Y=20Ajax=20save=20:=20undefined=20g=5Fparameter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/ajax_ledger.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/ajax_ledger.php b/html/ajax_ledger.php index 046e1f740..0be5e785f 100644 --- a/html/ajax_ledger.php +++ b/html/ajax_ledger.php @@ -48,7 +48,7 @@ if ( ! isset ($_REQUEST['act'])|| ! isset ($_REQUEST['jr_id']) } 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 @@ $gDossier=dossier::id(); 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);