diff --git a/zin/wg/checklist/v1.php b/zin/wg/checklist/v1.php index 89a1604eab..2721185c63 100644 --- a/zin/wg/checklist/v1.php +++ b/zin/wg/checklist/v1.php @@ -18,6 +18,8 @@ class checkList extends wg public function getValueList() { $value = $this->prop('value'); + if(is_null($value)) return array(); + if($this->prop('type') === 'checkbox') return is_array($value) ? $value : explode(',', $value); return [$value]; }