Skip to content

Commit

Permalink
Dev: sanitize_token is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 15, 2016
1 parent bb79cba commit 5dfd6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/OptinController.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function actiontokens($surveyid, $token, $langcode = '')
$sLanguageCode = $langcode;
$iSurveyID = $surveyid;
$sToken = $token;
$sToken = sanitize_token($sToken);
$sToken = Token::sanitizeToken($sToken);

if (!$iSurveyID)
{
Expand Down

0 comments on commit 5dfd6f3

Please sign in to comment.