mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-29 10:39:19 +02:00
redirect on save
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3175 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4035e1e404
commit
865d4c9998
@ -899,7 +899,7 @@ else if ( $save && $mark_list && $folder != 'savebox' && $folder != 'outbox' )
|
||||
message_die(ERROR, 'Invalid_session');
|
||||
}
|
||||
|
||||
if (count($mark_list))
|
||||
if (sizeof($mark_list))
|
||||
{
|
||||
// See if recipient is at their savebox limit
|
||||
$sql = "SELECT COUNT(privmsgs_id) AS savebox_items, MIN(privmsgs_date) AS oldest_post_time
|
||||
@ -1070,8 +1070,9 @@ else if ( $save && $mark_list && $folder != 'savebox' && $folder != 'outbox' )
|
||||
{
|
||||
message_die(GENERAL_ERROR, 'Could not save private messages', '', __LINE__, __FILE__, $saved_sql);
|
||||
}
|
||||
}
|
||||
|
||||
redirect("privmsg.$phpEx?folder=savebox");
|
||||
}
|
||||
}
|
||||
else if ( $submit || $refresh || $mode != '' )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user