Skip to content

Commit

Permalink
Fixed issue #6022: After having logged in the main admin screen show …
Browse files Browse the repository at this point in the history
…a "reloading screen..." message but nothing happens
  • Loading branch information
dionet committed Apr 25, 2012
1 parent d1970f0 commit a6e01b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function run($action)
if ($action != "update" && $action != "db")
if (empty($this->user_id) && $action != "authentication" && $action != "remotecontrol")
{
if ($action != 'index')
if (!empty($action) && $action != 'index')
Yii::app()->session['redirect_after_login'] = $this->createUrl('/');

Yii::app()->session['redirectopage'] = Yii::app()->request->requestUri;
Expand Down

0 comments on commit a6e01b3

Please sign in to comment.