* Fixed Create api lib type linkage.

This commit is contained in:
tianshujie
2023-10-23 11:21:31 +08:00
parent 33d47cd4a4
commit 6c7bfd532d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -932,7 +932,7 @@ class projectModel extends model
if($model == 'waterfallplus') $model = array('waterfall', 'waterfallplus');
/* Set first program to the project attribute. */
$model = $model == 'all' ? array() : explode(',', $model);
$model = $model == 'all' ? array() : (array)$model;
$multiple = strpos($param, 'multiple') !== false;
foreach($projects as $projectID => $project)
{