From 564944263ba035733cc6d9ab36b3f87b621b322f Mon Sep 17 00:00:00 2001 From: BJRambo Date: Mon, 15 Jan 2018 15:51:45 +0900 Subject: [PATCH] =?UTF-8?q?=20=EA=B0=92=EC=9D=84=20=EC=A1=B0=EA=B1=B4?= =?UTF-8?q?=EB=AC=B8=EB=B0=96=EC=9C=BC=EB=A1=9C=20=EB=B9=BC=EC=84=9C=20?= =?UTF-8?q?=EC=95=84=EB=9E=98=20=EB=B3=80=EC=88=98=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=ED=95=A0=20=EC=88=98=20=EC=9E=88=EB=8F=84=EB=A1=9D=20=EA=B3=A0?= =?UTF-8?q?=EC=B9=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/ncenterlite/ncenterlite.model.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/ncenterlite/ncenterlite.model.php b/modules/ncenterlite/ncenterlite.model.php index b3041d3db..2ab8918f1 100644 --- a/modules/ncenterlite/ncenterlite.model.php +++ b/modules/ncenterlite/ncenterlite.model.php @@ -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; }