Skip to content

Commit

Permalink
Fixed issue : unable to validate ranking question
Browse files Browse the repository at this point in the history
Dev: * are not the same with PHP and JS
  • Loading branch information
Shnoulle committed Jul 28, 2015
1 parent 434ce30 commit 553d716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/expressions/em_manager_helper.php
Expand Up @@ -1449,7 +1449,7 @@ public function _CreateSubQLevelRelevanceAndValidationEqns($onlyThisQseq=NULL)
foreach($subqs as $subq)
{
$sq_names[] = $subq['varName'].".NAOK";
$sq_eqPart[] = "!is_empty({$subq['varName']})*{$subq['csuffix']}";
$sq_eqPart[] = "intval(!is_empty({$subq['varName']}.NAOK))*{$subq['csuffix']}";
}
if (!isset($validationEqn[$questionNum]))
{
Expand Down

0 comments on commit 553d716

Please sign in to comment.