From e8c892f81836dc4f41c82250f610ef3233bc238a Mon Sep 17 00:00:00 2001 From: Marco Antonio Nina Date: Tue, 29 May 2012 10:31:00 -0400 Subject: [PATCH] BUG 7657 Dependent Fields don't work SOLVED - I was found a constant c. - The constant was changed for the correct variable. rk SOLVED - I was found a constant c. - The constant was changed for the correct variable. --- gulliver/methods/defaultAjax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/methods/defaultAjax.php b/gulliver/methods/defaultAjax.php index d73e7d4ce..584615005 100755 --- a/gulliver/methods/defaultAjax.php +++ b/gulliver/methods/defaultAjax.php @@ -54,7 +54,7 @@ } $G_FORM=new form( $xmlFile , $sPath ); $G_FORM->id=urlDecode($_POST['form']); - $G_FORM->values=isset($_SESSION[c]) ? $_SESSION[$G_FORM->id] : array(); + $G_FORM->values=isset($_SESSION[$G_FORM->id]) ? $_SESSION[$G_FORM->id] : array(); $newValues=($json->decode(urlDecode(stripslashes($_POST['fields'])))); if (isset($_POST['grid'])) { $_POST['row'] = (int)$_POST['row'];