Find
Code:
$DB_site->query("INSERT INTO pmtext (fromuserid, fromusername, title, message, touserarray, iconid, dateline, showsignature, allowsmilie)
VALUES ($bbuserinfo[userid], '$bbuserinfo[username]', '$_POST[subject]', '" . addslashes($sendmessage) . "', '" . serialize(array($user[userid] => $user[username])) . "', 0, " . TIMENOW . ", 0, 0)");
Replace with
Code:
$DB_site->query("INSERT INTO pmtext
(fromuserid, fromusername, title, message, touserarray, iconid, dateline, showsignature, allowsmilie
)
VALUES
($bbuserinfo[userid], '" . addslashes($bbuserinfo[username]) . "', '$_POST[subject]', '" . addslashes($sendmessage) . "', '" . serialize(array($user[userid] => addslashes($user['username']))) . "', 0, " . TIMENOW . ", 0, 0)");
I will update the text now