mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
각종 PHP 7.2 에서 나는 워닝에러를 고침
This commit is contained in:
parent
f2d2867069
commit
6496055581
5 changed files with 10 additions and 7 deletions
|
|
@ -487,7 +487,9 @@ class moduleModel extends module
|
|||
$list = Rhymix\Framework\Cache::get('site_and_module:module:mid_list_' . $args->site_srl);
|
||||
if($list === null)
|
||||
{
|
||||
if(count($args) === 1 && isset($args->site_srl))
|
||||
$argsCount = countobj($args);
|
||||
|
||||
if($argsCount === 1 && isset($args->site_srl))
|
||||
{
|
||||
$columnList = array();
|
||||
}
|
||||
|
|
@ -496,7 +498,7 @@ class moduleModel extends module
|
|||
if(!$output->toBool()) return $output;
|
||||
$list = $output->data;
|
||||
|
||||
if(count($args) === 1 && isset($args->site_srl) && !$columnList)
|
||||
if($argsCount === 1 && isset($args->site_srl) && !$columnList)
|
||||
{
|
||||
Rhymix\Framework\Cache::set('site_and_module:module:mid_list_' . $args->site_srl, $list, 0, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue