Browse Source

do_like() return false if verb is invalid

pull/2208/head
fabrixxm 6 years ago
parent
commit
835ad28d83
  1. 2
      include/like.php

2
include/like.php

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

Loading…
Cancel
Save