mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +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()
|
function isJoinTable()
|
||||||
{
|
{
|
||||||
$joinList = array('left join' => 1, 'left outer join' => 1, 'right join' => 1, 'right outer join' => 1);
|
$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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ class moduleAdminModel extends module
|
||||||
$grantList->access = new stdClass();
|
$grantList->access = new stdClass();
|
||||||
$grantList->access->title = lang('grant_access');
|
$grantList->access->title = lang('grant_access');
|
||||||
$grantList->access->default = 'guest';
|
$grantList->access->default = 'guest';
|
||||||
if(count($grantList))
|
if(countobj($grantList))
|
||||||
{
|
{
|
||||||
foreach($grantList as $key => $val)
|
foreach($grantList as $key => $val)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue