* Fix bug.

This commit is contained in:
tianshujie98
2021-02-22 10:42:24 +08:00
parent 670929c152
commit a86e104e2a
+1 -1
View File
@@ -469,7 +469,7 @@ class programModel extends model
if(empty($programID)) return $topPGM;
$program = $this->getPGMByID($programID);
if(isset($program)) list($topPGM) = explode(',', trim($program->path, ','));
if(!empty($program))list($topPGM) = explode(',', trim($program->path, ','));
return $topPGM;
}