* Fix bug.

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