don't provide option to block self
This commit is contained in:
parent
d72decea96
commit
2a63618dc7
BIN
blockem.tgz
BIN
blockem.tgz
Binary file not shown.
|
@ -143,6 +143,9 @@ EOT;
|
|||
|
||||
function blockem_item_photo_menu(&$a,&$b) {
|
||||
|
||||
if((! local_user()) || ($b['item']['self']))
|
||||
return;
|
||||
|
||||
$blocked = false;
|
||||
$author = $b['item']['author-link'];
|
||||
if(is_array($a->data['blockem'])) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user