mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
look for owner instead of author - this way we will also catch the via posts
This commit is contained in:
@@ -82,7 +82,7 @@ class Messages {
|
||||
}
|
||||
|
||||
if($author) {
|
||||
$author_sql = " AND i.author_xchan = '" . protect_sprintf(dbesc($author)) . "' ";
|
||||
$author_sql = " AND i.owner_xchan = '" . protect_sprintf(dbesc($author)) . "' ";
|
||||
}
|
||||
|
||||
switch($type) {
|
||||
|
||||
Reference in New Issue
Block a user