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