script-solution / Boardsolution

An open-source discussion board written in PHP.
GNU General Public License v2.0
6 stars 0 forks source link

[acp] Missing addslashes when rebuilding the messages #11

Closed hrniels closed 11 years ago

hrniels commented 11 years ago

Line 99:

BS_DAO::get_links()->update_text($data['id'],$text,$data['link_desc_posted']);

->

BS_DAO::get_links()->update_text($data['id'],$text,addslashes($data['link_desc_posted']));

The same in line 143:

BS_DAO::get_pms()->update_text($data['id'],$text,$data['pm_text_posted']);