View Single Post
  #1  
Old 17th June 2018, 06:05
Tedmorris Tedmorris is offline
Senior Member
 
Join Date: Sep 2017
Posts: 62
Default Text that wont display
Hi guys, im hoping someone can shed some light on this problem. I upgraded the DB to MariaDB 10 without problems but now it seems like the format_comment is giving me grief.

Its happening to posts on the forum and torrent descriptions that use quotation marks or commors but its weird because if reconstructed it seems ok its almost like if to many exclamation marks or commors or minus symbols are used it wont display the text, it puts it in the database though. I traced it to this function and removed it then all was as it should, i tried to update the function but it just wouldnt work. Now with the function removed when a post that would not apoear , appears and you try to edit it or quote it then its blank.

PHP Code:
    if ($strip_html)
        
$s htmlspecialchars$s ); 
Im stumpped as to whats going on. Anyone seen this problem before?
Reply With Quote