From 28aaaf9d010ecc47e19d1fd1c5227ef4f080a851 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 13 Oct 2003 17:41:27 +0000 Subject: Moved queue handling back to common ... forgot to introduce session start when error handling ... oopsie git-svn-id: file:///svn/phpbb/trunk@4595 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_messenger.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/functions_messenger.php') diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index 5365b55530..112f09f8cc 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -207,7 +207,10 @@ class messenger function error($type, $msg) { - global $phpEx, $phpbb_root_path; + global $user, $phpEx, $phpbb_root_path; + + // Session doesn't exist, create it + $user->start(); include_once($phpbb_root_path . 'includes/functions_admin.'.$phpEx); add_log('critical', $type . '_ERROR', $msg); -- cgit v1.2.1