* Fix the bug of program not display in program-productview page.

This commit is contained in:
xieqiyu
2024-05-14 14:01:50 +08:00
parent 7663080881
commit 64af974ebb
+1 -1
View File
@@ -47,7 +47,7 @@ $fnGenerateCreateProgramBtns = function() use ($lang, $browseType)
/* Closure for generating program row data. */
$fnGenerateProgramRowData = function($programID, $program) use ($config, $users)
{
if(!isset($program['programName']) || $config->systemMode != 'ALM') return null;
if(!isset($program['programName']) || strpos(',ALM,PLM,', ",{$config->systemMode},") === false) return null;
/* ALM mode with more data. */
$totalStories = $program['totalStories'];