NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

#1 07-06-2006 12:34:52

acwitness
Member

cannot delete mail from mailread.php page

Howdy,

Deleting mail from the mailbox with the check boxes works great, but I was unable to delete a message that was opened using the delete link on that page - "no mode" error.

Added this back to functions.php (copied from Version 5.5.9):

// Mailbox Delete
if ($_GET['mail'] == 'delete') {
    $MID = (int) $_GET['MID'];

    $result = mysql_query ("SELECT * FROM {$OekakiPoteto_MemberPrefix}oekakimailbox WHERE MID='$MID'");
    $row = mysql_fetch_array ($result);

    if ($row['reciever'] != $OekakiU) {
        report_err($langop_functions_err11);
    } else {
        $result = mysql_query ("DELETE FROM {$OekakiPoteto_MemberPrefix}oekakimailbox WHERE MID='$MID'");
        errorCheck('mailbox.php');
    }
}

Offline

#2 07-07-2006 14:54:08

Waccoon
Administrator

Re: cannot delete mail from mailread.php page

[Edit]  Oh, that link.

Offline

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB