It's because these lines
- Code: Select all
$message = $lang['Cannot_send_privmsg'];
message_die(GENERAL_MESSAGE, $message);
}
are present on 2 different part of code; for example I have the same 3 lines @line #1071 and #1375

Actually I don't think so, I tried to place the changes on both parts; in the first I got that error in the second, clicking on New PM I'm redirected to "Your message has been sent"
Anyway, Niels, if you don't mind I sent you my privmsg.php, when you have the time can you please take a look @it?
Thanks a lot in advance.
Jobbesat