Skip to content

Commit

Permalink
Fixed issue #10677: closing out of token generation first doesn't wor…
Browse files Browse the repository at this point in the history
…k and then sends to non-admin section of limesurvey
  • Loading branch information
LouisGac committed Mar 9, 2016
1 parent 4e5a5d6 commit 58fa25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/core/Survey_Common_Action.php
Expand Up @@ -529,7 +529,7 @@ function _tokenbar($aData)
if(isset($aData['token_bar']['closebutton']['url']))
{
$sAlternativeUrl = $aData['token_bar']['closebutton']['url'];
$aData['token_bar']['closebutton']['url'] = Yii::app()->request->getUrlReferrer( Yii::app()->createUrl($sAlternativeUrl) );
$aData['token_bar']['closebutton']['url'] = Yii::app()->request->getUrlReferrer( Yii::app()->createUrl($sAlternativeUrl) , array('tokenify') );
}

$this->getController()->renderPartial("/admin/token/token_bar", $aData);
Expand Down

0 comments on commit 58fa25f

Please sign in to comment.