mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
값을 조건문밖으로 빼서 아래 변수사용할 수 있도록 고침
This commit is contained in:
parent
5ceac274e4
commit
564944263b
1 changed files with 4 additions and 3 deletions
|
|
@ -239,11 +239,12 @@ class ncenterliteModel extends ncenterlite
|
|||
$member_srl = $logged_info->member_srl;
|
||||
}
|
||||
|
||||
if($page <= 1)
|
||||
$cache_key = sprintf('ncenterlite:notify_list:%d', $member_srl);
|
||||
|
||||
if ($page <= 1)
|
||||
{
|
||||
$cache_key = sprintf('ncenterlite:notify_list:%d', $member_srl);
|
||||
$output = Rhymix\Framework\Cache::get($cache_key);
|
||||
if ($output !== null)
|
||||
if($output !== null)
|
||||
{
|
||||
return $output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue