mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Clean up usage of is_countable()
This commit is contained in:
parent
67a9aba082
commit
494e0ee028
8 changed files with 10 additions and 14 deletions
|
|
@ -149,8 +149,8 @@ class Query extends BaseObject
|
|||
|
||||
function setColumnList($columnList)
|
||||
{
|
||||
if (!is_array($this->columnList)) return;
|
||||
$this->columnList = $columnList;
|
||||
if (!is_countable($this->columnList)) return;
|
||||
|
||||
if(count($this->columnList) > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue