From 59968a12e4acd9b2a345ea938c9f3367efcda775 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 21 Jul 2022 08:40:56 +0800 Subject: [PATCH] * Fix bug #24796. --- module/my/control.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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);