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;
|
$activity = ACTIVITY_ATTENDMAYBE;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue