Commit 455b7ca9 authored by wwccw0591's avatar wwccw0591

master_dev

parent d6af8669
......@@ -82,6 +82,7 @@ class RefundReasonModel extends \DAO\AbstractModel
public function getAll($fields='*'){
$this->setDb($this->dbName);
$list = $this->db->from($this->_tableName)->select($fields)->fetchAll();
$list=$list?$list:array();
return $list;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment