Jump to the post that solved this thread.
Solved: 3 Years, 4 Months, 1 Week ago Username is blank when quoting a Guest user
#3
Solved: 3 Years, 4 Months, 1 Week ago
Thanks that worked!

From that link:

Quote:I have fixed the error once, by looking in the file inc / functions_posting.php

// Swap username over if we have a registered user
if($quoted_post['userusername'])
{
   $quoted_post['username'] = $quoted_post['userusername'];
} 


have expanded to

// Swap username over if we have a registered user
if($quoted_post['userusername'])
{
   $quoted_post['username'] = $quoted_post['userusername'];
}
else
{
   if(empty($quoted_post['username']))
   {
       $quoted_post['username'] = htmlspecialchars_uni($lang->guest);
   }
}
Reply
Jump to the post that solved this thread.


Messages In This Thread
RE: Username is blank when quoting a Guest user - by mikew - 2019-05-16, 03:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)