here are how to upgrade
in file privmsg.php
- Code: Select all
[FIND]
$to_username = "'".$to_username."'";
$sql = "SELECT user_id, user_notify_pm, user_email, user_lang, user_active
FROM " . USERS_TABLE . "
WHERE username IN (" . str_replace("\'", "''", $to_username) . ")
AND user_id <> " . ANONYMOUS;
if ( !($result = $db->sql_query($sql)) )
[IN-LINE FIND]
$result
[IN-LINE REPLACE WITH]
$result2


