Skip to content

Commit

Permalink
Fixed issue: extra paranthesis in cokensController
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Nov 27, 2017
1 parent 2dceb2f commit 08f661f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/admin/tokens.php
Expand Up @@ -714,8 +714,8 @@ public function addnew($iSurveyId)
public function edit($iSurveyId, $iTokenId, $ajax = false)
{
App()->getClientScript()->registerScriptFile(App()->getConfig('adminscripts').'tokens.js', LSYii_ClientScript::POS_BEGIN);
$iSurveyId = (int)$iSurveyId;
$iTokenId = (int)$iTokenId);
$iSurveyId = (int) $iSurveyId;
$iTokenId = (int) $iTokenId;
$survey = Survey::model()->findByPk($iSurveyId);

// Check permission
Expand Down

0 comments on commit 08f661f

Please sign in to comment.