Fixed problem with msg v.s. msgs when deleting (#503157)

git-svn-id: file:///svn/phpbb/trunk@1872 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2002-01-14 20:16:09 +00:00
parent 55f4b05b77
commit 68b57431ba

View file

@ -580,6 +580,11 @@ else if( ( $delete && $mark_list ) || $delete_all )
{ {
header("Location: " . append_sid("login.$phpEx?redirect=privmsg.$phpEx&folder=inbox", true)); header("Location: " . append_sid("login.$phpEx?redirect=privmsg.$phpEx&folder=inbox", true));
} }
if( isset($mark_list) && !is_array($mark_list) )
{
// Set to empty array instead of '0' if nothing is selected.
$mark_list = array();
}
if( !$confirm ) if( !$confirm )
{ {