From c3a1bedeefecb3ebb1880045c254c68e44ffaee9 Mon Sep 17 00:00:00 2001 From: liuhong Date: Mon, 19 Sep 2022 00:27:43 +0000 Subject: [PATCH] *Fix bug #27291. --- module/story/control.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/story/control.php b/module/story/control.php index d0194d3ce5..05a1eb0a1f 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -750,6 +750,7 @@ class story extends control $this->loadModel('file'); $this->app->loadLang('bug'); $story = $this->story->getById($storyID, 0, true); + $this->commonAction($storyID); if(!empty($_POST)) { @@ -793,8 +794,6 @@ class story extends control return print(js::locate($this->createLink($this->app->rawModule, 'view', $params), 'parent')); } - $this->commonAction($storyID); - /* Sort products. */ $myProducts = array(); $othersProducts = array();