diff --git a/module/my/control.php b/module/my/control.php index b6c4c24144..f9b16e7c7a 100755 --- a/module/my/control.php +++ b/module/my/control.php @@ -323,11 +323,7 @@ EOF; { $this->loadModel('story'); /* Save session. */ - if($this->app->viewType != 'json') - { - $this->session->set('storyList', $this->app->getURI(true), 'my'); - $this->session->set('storyList', $this->app->getURI(true), 'product'); - } + if($this->app->viewType != 'json') $this->session->set('storyList', $this->app->getURI(true), 'product'); /* Load pager. */ $this->app->loadClass('pager', $static = true); @@ -391,7 +387,7 @@ EOF; { /* Save session. */ $this->loadModel('story'); - if($this->app->viewType != 'json') $this->session->set('storyList', $this->app->getURI(true), 'my'); + if($this->app->viewType != 'json') $this->session->set('storyList', $this->app->getURI(true), 'product'); /* Load pager. */ $this->app->loadClass('pager', $static = true);