* Finish task #86286.

This commit is contained in:
liumengyi
2023-03-17 07:07:40 +00:00
parent bcc9e6a0b2
commit cdeb1c7e4c
2 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ class treeModel extends model
*/
public function getOptionMenu($rootID, $type = 'story', $startModule = 0, $branch = 0, $param = 'nodeleted', $grade = 'all')
{
if(empty($branch)) $branch = 0;
if(empty($branch) and !is_array($branch)) $branch = 0;
if(defined('TUTORIAL'))
{
$modulePairs = $this->loadModel('tutorial')->getModulePairs();