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)