https://www.icyphoenix.com/viewtopic.php?f=26&t=2200
-----------------------------------
lefty74
Sun 03 Jun, 2007 19:48

FAP SUPPORT - Minor Bugfix (I Think) Stripslash Pic_desc And Pic_title
-----------------------------------
I noticed that when users put a ' in either the title or description text it would come out as '' when looking at it on e.g. album_showpage.php.

When I replaced e.g. $row[pic_title] with stripslashes(str_replace("''", "'", $row['pic_title'])) it was fine.

I did that with all the pic_des and pic_title occurences in album_showpage.php and album_hierarchy_sql.php and it seems fine now.


