Skip to content

Commit

Permalink
Fixed issue #10336: no redirection after global setting saved
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Feb 8, 2016
1 parent df67f0f commit cc6d145
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions application/controllers/admin/globalsettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,9 @@ private function _saveSettings()

Yii::app()->session['flashmessage'] = $warning.gT("Global settings were saved.");

// ref url
$url = htmlspecialchars_decode(Yii::app()->session['refurl']);
// ref url
//$url = htmlspecialchars_decode(Yii::app()->session['refurl']);
$url = Yii::app()->createUrl('admin/globalsettings');
if($url){Yii::app()->getController()->redirect($url);}
}

Expand Down

0 comments on commit cc6d145

Please sign in to comment.