PDA

View Full Version : [fixed] private2.php -> sendtobuddies



Mystics
Wed 3rd Sep '03, 1:10pm
If you try to use the "Send PM to Buddies" feature and choose only one buddy, you just get redirected to your PM Inbox.

To fix, edit private2.php and find:
if (count($buddyid)==1) {
if ($forward==true) {
header ("Location: private.php?s=$s&action=newmessage&forward=$forwar d&privatemessageid=$privmessageid&userid=".key($buddyid));
} else {
header ("Location: private.php?s=$s&action=newmessage&userid=".key($buddyid));
}
exit;
}Replace with:
if (count($buddyid)==1) {
if ($forward==true) {
header ("Location: private.php?s=$s&action=newmessage&forward=$forward&privatemessageid=$privmessageid&userid=".key($buddyid));
} else {
header ("Location: private.php?s=$s&action=newmessage&userid=".key($buddyid));
}
exit;
}

Steve Machol
Wed 3rd Sep '03, 2:34pm
Moved to Bugs for a Dev to check.