summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/models/muser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/muser.php b/application/models/muser.php
index b3c16bf78..bb67bd6a0 100644
--- a/application/models/muser.php
+++ b/application/models/muser.php
@@ -15,7 +15,7 @@ class Muser extends CI_Model {
{
parent::__construct();
- if ($this->has_session()) {
+ if ($this->has_session() && !$this->logged_in()) {
$this->session->keep_flashdata("uri");
}