diff --git a/module/block/model.php b/module/block/model.php index 0a08010684..5783ad6477 100644 --- a/module/block/model.php +++ b/module/block/model.php @@ -194,6 +194,9 @@ class blockModel extends model */ public function getListParams($module = '') { + if($module == 'product') return $this->getProductParams($module); + if($module == 'project') return $this->getProjectParams($module); + $params = new stdclass(); $params = $this->onlyNumParams($module, $params); return json_encode($params);