Skip to content

Commit

Permalink
Fixed issue #9666: Data entry screen with token problem
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jun 29, 2015
1 parent 162255e commit 71d381e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions application/controllers/admin/dataentry.php
Expand Up @@ -1740,7 +1740,6 @@ public function insert()
// save submitdate into survey table
$sdquery = "UPDATE {{survey_$surveyid}} SET submitdate='".$submitdate."' WHERE id={$last_db_id}\n";
$sdresult = dbExecuteAssoc($sdquery) or safeDie ("Couldn't set submitdate response in survey table!<br />\n$sdquery<br />\n");
$last_db_id = getLastInsertID("{{survey_$surveyid}}");
}
if (isset($_POST['save']) && $_POST['save'] == "on")
{
Expand Down Expand Up @@ -1952,7 +1951,7 @@ public function view($surveyid, $lang=NULL)
$showme .= '<br/>';
}
if ($validation != '') {
$showme .= "[".$gT("The answer(s) must meet these validation criteria:",'html',$sDataEntryLanguage)."]<br />$validation\n";
$showme .= "[".gT("The answer(s) must meet these validation criteria:",'html',$sDataEntryLanguage)."]<br />$validation\n";
}
if ($showme != '' && $array_filter_help != '') {
$showme .= '<br/>';
Expand Down

0 comments on commit 71d381e

Please sign in to comment.