mirror of
https://github.com/fsr/eseeva
synced 2024-11-15 08:53:11 +01:00
fixes reference warning
This commit is contained in:
parent
32af0a2d01
commit
134775b2d7
|
@ -19,7 +19,7 @@
|
||||||
$keyState = "";
|
$keyState = "";
|
||||||
// load the questionnaire and patrons data
|
// load the questionnaire and patrons data
|
||||||
$questionnaire = ReadQuestionnaireFile(STUDENT_QUESTIONNAIRE);
|
$questionnaire = ReadQuestionnaireFile(STUDENT_QUESTIONNAIRE);
|
||||||
$patrons = ReadPatronsFile(PATRONS);
|
$patrons = array_keys(ReadPatronsFile(PATRONS));
|
||||||
// if the variable is set, the form has been posted to itself and can be validated
|
// if the variable is set, the form has been posted to itself and can be validated
|
||||||
if (isset($_POST["submit"]))
|
if (isset($_POST["submit"]))
|
||||||
{
|
{
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
else
|
else
|
||||||
CreateKeyMessageBox($keyState);
|
CreateKeyMessageBox($keyState);
|
||||||
CreateQuestionnaireElement("code", $questionnaire, $_POST);
|
CreateQuestionnaireElement("code", $questionnaire, $_POST);
|
||||||
CreateQuestionnaireElement("tutorName", $questionnaire, array_keys($patrons));
|
CreateQuestionnaireElement("tutorName", $questionnaire, $patrons);
|
||||||
CreateQuestionnaireElement("legend", $questionnaire, $_POST);
|
CreateQuestionnaireElement("legend", $questionnaire, $_POST);
|
||||||
CreateAllQuestionElements($questionnaire, $_POST);
|
CreateAllQuestionElements($questionnaire, $_POST);
|
||||||
CreateQuestionnaireElement("comment", $questionnaire, $_POST);
|
CreateQuestionnaireElement("comment", $questionnaire, $_POST);
|
||||||
|
|
Loading…
Reference in a new issue