Skip to content

Commit

Permalink
Fixed issue : condition editor throw error with invalid var name
Browse files Browse the repository at this point in the history
Dev: debug>1 : 500 error, no debug : empty string
  • Loading branch information
Shnoulle committed Apr 2, 2019
1 parent cb81914 commit 94a2a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/conditionsaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ public function index($subaction, $iSurveyID = null, $gid = null, $qid = null)
"text" => $cqn[0]." ({$rows['value']})"
);
} else {
//$aViewUrls['output'] .= "\t<font color='red'>ERROR: Delete this condition. It is out of order.</font>\n";
$data['name'] = sprintf(gT("Variable not found: %s"),$rows['cfieldname']);
}
}
}
Expand Down

0 comments on commit 94a2a15

Please sign in to comment.