From a94420908df9fbcc06acaa2ae4c21d49caf489de Mon Sep 17 00:00:00 2001 From: BJRambo Date: Wed, 19 Sep 2018 17:50:30 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=A4=EC=8A=A4=ED=85=80=20=EC=95=8C?= =?UTF-8?q?=EB=A6=BC=EC=9D=84=20=EC=9C=84=ED=95=9C=20=EA=B0=81=20=EB=A9=94?= =?UTF-8?q?=EC=84=9C=EB=93=9C=EB=93=A4=EC=9D=98=20=EA=B8=B0=EB=B3=B8?= =?UTF-8?q?=EA=B0=92=EC=9D=84=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 커스텀알림을 위한 메서드들에서 대부분 notify_srl 과같은 parameter에 기본값을 사용하고 있습니다. 이 기본값들이 대부분 알림센터의 내부에서 사용되고, 이 커밋에서 지웠던 부분 모두 디비쿼리에 필요한 notify_srl 값을 null으로 전송하여 입력이나 가져오는 것에 대부분 문제가 있었을 것으로 추정하였습니다. 문제가 있을 경우 백지가 나타나게 되어서 문제점을 알 수 없을 수 있는 위험은 있으나 대부분의 동작 코드에서 notify_srl 값이 강제적으로 필요한 것으로 작동되고 있기 때문에 일딴은 parameter의 기본값은 삭제합니다. --- modules/ncenterlite/ncenterlite.model.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ncenterlite/ncenterlite.model.php b/modules/ncenterlite/ncenterlite.model.php index c54ae7076..0284a90a3 100644 --- a/modules/ncenterlite/ncenterlite.model.php +++ b/modules/ncenterlite/ncenterlite.model.php @@ -76,7 +76,7 @@ class ncenterliteModel extends ncenterlite return self::$config; } - function getNotifyTypebySrl($notify_srl='') + function getNotifyTypebySrl($notify_srl) { $args = new stdClass(); $args->notify_type_srl = $notify_srl; @@ -86,7 +86,7 @@ class ncenterliteModel extends ncenterlite return $output; } - function getNotifyTypeString($notify_srl='',$notify_args) + function getNotifyTypeString($notify_srl, $notify_args) { $this->notify_args = $notify_args; @@ -113,7 +113,7 @@ class ncenterliteModel extends ncenterlite return $this->notify_args->{$match[1]}; } - function isNotifyTypeExistsbySrl($notify_srl='') + function isNotifyTypeExistsbySrl($notify_srl) { $args = new stdClass(); $args->notify_type_srl = $notify_srl;