do_like() return false if verb is invalid

This commit is contained in:
fabrixxm 2015-12-27 17:31:34 +01:00
parent f27fad7b47
commit 835ad28d83

View file

@ -43,7 +43,7 @@ function do_like($item_id, $verb) {
$activity = ACTIVITY_ATTENDMAYBE; $activity = ACTIVITY_ATTENDMAYBE;
break; break;
default: default:
return; return false;
break; break;
} }