From 1f146e31f65833fd5e399a5abc061a28d2918bc1 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Tue, 1 Aug 2017 23:26:27 -0500 Subject: [PATCH] Fix notification loop if listener unset --- lib/PgSqlHandle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PgSqlHandle.php b/lib/PgSqlHandle.php index 03dbeb0..00d2f21 100644 --- a/lib/PgSqlHandle.php +++ b/lib/PgSqlHandle.php @@ -64,7 +64,7 @@ class PgSqlHandle implements Handle { $channel = $result["message"]; if (!isset($listeners[$channel])) { - return; + continue; } $notification = new Notification;