mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2510 fallback for missing username
This commit is contained in:
@@ -142,7 +142,7 @@ SELECT
|
||||
}
|
||||
else
|
||||
{
|
||||
$author_name = stripslashes($row['username']);
|
||||
$author_name = stripslashes($row['username'] ?? $row['author'] ?? l10n('guest'));
|
||||
}
|
||||
|
||||
$list[] = array(
|
||||
|
||||
Reference in New Issue
Block a user