From 4524239b3ec0137e5daaeeb1db2f01e01d1dc67a Mon Sep 17 00:00:00 2001 From: Denis Chenu Date: Thu, 22 Mar 2018 19:04:21 +0100 Subject: [PATCH] =?UTF-8?q?Fixed=20issue=20#13524:=20EM=20Error=20on=20Val?= =?UTF-8?q?idation=20on=20hidden=20question=20and=20debug=20Dev:=20validat?= =?UTF-8?q?ing=20validEqn=20=3F=20Then=20test=20validEqn=20=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/helpers/expressions/em_manager_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/helpers/expressions/em_manager_helper.php b/application/helpers/expressions/em_manager_helper.php index 1b8873c83c8..df1fc714cf2 100644 --- a/application/helpers/expressions/em_manager_helper.php +++ b/application/helpers/expressions/em_manager_helper.php @@ -9612,7 +9612,7 @@ static public function ShowSurveyLogicFile($sid, $gid=NULL, $qid=NULL,$LEMdebugL ////// // Must parse Validation this way so that regex (preg) works $prettyValidEqn = ''; - if ($q['prettyValidEqn'] != '') { + if ($q['validEqn'] != '') { $validationEqn = $q['validEqn']; if (!isset($LEM->ParseResultCache[$validationEqn])) {