mirror of
https://github.com/friendica/friendica
synced 2024-12-23 15:20:17 +00:00
do_like() return false if verb is invalid
This commit is contained in:
parent
f27fad7b47
commit
835ad28d83
1 changed files with 1 additions and 1 deletions
|
@ -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