]> git.mxchange.org Git - friendica.git/commitdiff
do_like() return false if verb is invalid
authorfabrixxm <fabrix.xm@gmail.com>
Sun, 27 Dec 2015 16:31:34 +0000 (17:31 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Mon, 28 Dec 2015 09:23:06 +0000 (10:23 +0100)
include/like.php

index 02681438469293cb9dd5e60d95eb79fee5107abb..6aef0cb5b8b3b4421e8ac25c764def3a0ac1d764 100644 (file)
@@ -43,7 +43,7 @@ function do_like($item_id, $verb) {
                        $activity = ACTIVITY_ATTENDMAYBE;
                        break;
                default:
-                       return;
+                       return false;
                        break;
        }