Skip to content

Commit

Permalink
Dev: Scrutinizer fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 1, 2016
1 parent aeae840 commit 8ea9ef8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application/helpers/qanda_helper.php
Expand Up @@ -3582,6 +3582,7 @@ function do_shortfreetext($ia)
$answer .= return_timer_script($aQuestionAttributes, $ia, "answer".$ia[1]);
}

$inputnames = array();
$inputnames[]=$ia[1];
return array($answer, $inputnames);

Expand Down Expand Up @@ -3677,6 +3678,7 @@ function do_longfreetext($ia)
$answer .= return_timer_script($aQuestionAttributes, $ia, "answer".$ia[1]);
}

$inputnames = array();
$inputnames[]=$ia[1];
return array($answer, $inputnames);
}
Expand Down Expand Up @@ -3755,6 +3757,7 @@ function do_hugefreetext($ia)
$answer .= return_timer_script($aQuestionAttributes, $ia, "answer".$ia[1]);
}

$inputnames = array();
$inputnames[]=$ia[1];
return array($answer, $inputnames);
}
Expand Down

0 comments on commit 8ea9ef8

Please sign in to comment.