diff --git a/module/sso/model.php b/module/sso/model.php index 8a867a0a81..e4c9960201 100644 --- a/module/sso/model.php +++ b/module/sso/model.php @@ -149,7 +149,6 @@ class ssoModel extends model public function createKey() { return md5(rand()); - } /** diff --git a/module/story/control.php b/module/story/control.php index 773be8a51f..8390873783 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -786,6 +786,7 @@ class story extends control */ public function ajaxGetProductStories($productID, $moduleID = 0, $storyID = 0) { + if($moduleID) $moduleID = $this->loadModel('tree')->getAllChildID($moduleID); $stories = $this->story->getProductStoryPairs($productID, $moduleID); die(html::select('story', $stories, $storyID, "class=''")); }