From 8c9ab0ac60fcb64e82671de648bb2e582304dd9f Mon Sep 17 00:00:00 2001 From: Darin Wilton Date: Mon, 1 Feb 2016 08:20:47 -0500 Subject: [PATCH] replaced exit with return --- controller/chat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/chat.php b/controller/chat.php index 6af35e0..b5b7d45 100644 --- a/controller/chat.php +++ b/controller/chat.php @@ -671,7 +671,7 @@ private function addAction() if (!sizeof($rows) && ((time() - 60) < $this->last_time)) { - exit; + return; } foreach ($rows as $row)