From 244b33600f3589b236250335c4f4a6c28e4f552c Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 17 Jan 2014 11:20:52 +0900 Subject: [PATCH] =?UTF-8?q?print=5Fresult=20=ED=95=A8=EC=88=98=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EC=98=A4=EB=A5=98=EA=B0=80=20=EC=9E=88=EC=9D=84=20?= =?UTF-8?q?=EB=95=8C=EB=A7=8C=20exit=20=EB=90=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/good.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bbs/good.php b/bbs/good.php index beac6ac91..b18806c00 100644 --- a/bbs/good.php +++ b/bbs/good.php @@ -10,7 +10,8 @@ if($_POST['js'] == "on") { function print_result($error, $count) { echo '{ "error": "' . $error . '", "count": "' . $count . '" }'; - exit; + if($error) + exit; } if (!$is_member)