This commit is contained in:
holan20180123
2021-03-26 09:20:17 +08:00
parent aed1a0638a
commit 7a488de6a1
+2 -2
View File
@@ -209,8 +209,8 @@ class actionModel extends model
{
$record = (array)$record;
$record['product'] = isset($record['product']) ? ',' . $record['product'] . ',' : ',0,';
if(!isset($record['project'])) $record['project'] = 0;
if(!isset($record['execution'])) $record['execution'] = 0;
if(empty($record['project'])) $record['project'] = 0;
if(empty($record['execution'])) $record['execution'] = 0;
return $record;
}