look for owner instead of author - this way we will also catch the via posts

This commit is contained in:
Mario
2023-02-22 17:07:53 +00:00
parent ca7bd49964
commit 656400b418

View File

@@ -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) {