mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
PHP7.2 count 관련 워닝에러를 고침.
This commit is contained in:
parent
8dd447bc15
commit
f2d2867069
2 changed files with 2 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ class TableTag
|
|||
function isJoinTable()
|
||||
{
|
||||
$joinList = array('left join' => 1, 'left outer join' => 1, 'right join' => 1, 'right outer join' => 1);
|
||||
if(isset($joinList[$this->join_type]) && count($this->conditions))
|
||||
if(isset($joinList[$this->join_type]) && countobj($this->conditions))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ class moduleAdminModel extends module
|
|||
$grantList->access = new stdClass();
|
||||
$grantList->access->title = lang('grant_access');
|
||||
$grantList->access->default = 'guest';
|
||||
if(count($grantList))
|
||||
if(countobj($grantList))
|
||||
{
|
||||
foreach($grantList as $key => $val)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue