is_countable?!

This commit is contained in:
Min-Soo Kim 2020-06-07 22:56:21 +09:00
parent 43fe12af13
commit a641b3103a
10 changed files with 39 additions and 14 deletions

View file

@ -150,6 +150,8 @@ class Query extends BaseObject
function setColumnList($columnList)
{
$this->columnList = $columnList;
if (!is_countable($this->columnList)) return;
if(count($this->columnList) > 0)
{
$selectColumns = array();