From: fabrixxm Date: Sun, 27 Dec 2015 16:31:34 +0000 (+0100) Subject: do_like() return false if verb is invalid X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=835ad28d83cc4433697b700908493710323210c0;p=friendica.git do_like() return false if verb is invalid --- 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; }