do_like() return false if verb is invalid
This commit is contained in:
parent
f27fad7b47
commit
835ad28d83
|
@ -43,7 +43,7 @@ function do_like($item_id, $verb) {
|
|||
$activity = ACTIVITY_ATTENDMAYBE;
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue