Skip to content

Commit

Permalink
Dev: typo for #6966
Browse files Browse the repository at this point in the history
Dev: Missing argument 1 for buildsurveysession() in some condition
  • Loading branch information
Shnoulle committed Nov 30, 2012
1 parent 294dd28 commit f7bc43b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/controllers/survey/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ function sendreq(surveyid)
$_SESSION['survey_'.$surveyid]['step'] = $aRow['lastpage'];
}
}
buildsurveysession();
buildsurveysession($surveyid);
loadanswers();
}
}
Expand Down
3 changes: 1 addition & 2 deletions application/helpers/common_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4515,7 +4515,7 @@ function getNumericalFormat($lang = 'en', $integer = false, $negative = true) {
*
* @return Array of token data
*/
function getTokenData($surveyid, $token)
function getTokenData($surveyid, $token) // TODO : move it to token model
{
$thistoken = Tokens_dynamic::model($surveyid)->find('token = :token',array(':token' => $token));
$thistokenarray=array(); // so has default value
Expand All @@ -4526,7 +4526,6 @@ function getTokenData($surveyid, $token)
return $thistokenarray;
}
}

/**
* This function returns the complete directory path to a given template name
Expand Down

0 comments on commit f7bc43b

Please sign in to comment.