diff --git a/include/ws_functions/pwg.comments.php b/include/ws_functions/pwg.comments.php index dea581181..da880c957 100644 --- a/include/ws_functions/pwg.comments.php +++ b/include/ws_functions/pwg.comments.php @@ -142,7 +142,7 @@ SELECT } else { - $author_name = stripslashes($row['username']); + $author_name = stripslashes($row['username'] ?? $row['author'] ?? l10n('guest')); } $list[] = array(