aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index 04107dac60..48ad826c7e 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -74,15 +74,15 @@ else
if ( $cancel )
{
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
- header($header_location . append_sid("privmsg.$phpEx?folder=$folder", true));
+ header($header_location . "privmsg.$phpEx$SIDfolder=$folder");
exit;
}
//
// Start session management
//
-$userdata = session_pagestart($user_ip, PAGE_PRIVMSGS);
-init_userprefs($userdata);
+$userdata = $session->start();
+$acl = new auth('list', $userdata);
//
// End session management
//