The fix in the Official Bugs & Updates forum
was referring to just the guild info as I suspected (so telling me to look in that forum was incorrect, as the solution in there was not for my problem). I went a few lines up and did the same thing to the value "guild_motd" instead, but still no dice. I then looked into it and saw that the URL sent to motd.php via GET includes the right information (%22 vs. \"). Therefore, I figured the problem is with motd.php. I added the line
- Code: Select all
$guildMOTD = str_replace( '\"', '"', $guildMOTD );
right underneath the line
- Code: Select all
$guildMOTD = urldecode($_GET['motd']);
in motd.php and everything works fine now.
I guess urldecode() converts %22 to \" rather than ", so when it gets sent to imgttftext() it displays \". Good thing I know a little PHP...