From 835ad28d83cc4433697b700908493710323210c0 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sun, 27 Dec 2015 17:31:34 +0100 Subject: [PATCH] do_like() return false if verb is invalid --- include/like.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/like.php b/include/like.php index 0268143846..6aef0cb5b8 100644 --- a/include/like.php +++ b/include/like.php @@ -43,7 +43,7 @@ function do_like($item_id, $verb) { $activity = ACTIVITY_ATTENDMAYBE; break; default: - return; + return false; break; } -- 2.39.5