mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-31 06:02:00 +01:00
fixes #2510 fallback for missing username
This commit is contained in:
1 parent
c186a5f7de
commit
15e451c231
1 file changed
+1
-1
@@ -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