aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-10-13 17:41:27 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-10-13 17:41:27 +0000
commit28aaaf9d010ecc47e19d1fd1c5227ef4f080a851 (patch)
tree5d8106d8868994573d7f117a37a9f88425a69d69 /phpBB/includes/functions_messenger.php
parent79469f244fc6c0c218ae6bef4e5191797b003027 (diff)
downloadforums-28aaaf9d010ecc47e19d1fd1c5227ef4f080a851.tar
forums-28aaaf9d010ecc47e19d1fd1c5227ef4f080a851.tar.gz
forums-28aaaf9d010ecc47e19d1fd1c5227ef4f080a851.tar.bz2
forums-28aaaf9d010ecc47e19d1fd1c5227ef4f080a851.tar.xz
forums-28aaaf9d010ecc47e19d1fd1c5227ef4f080a851.zip
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
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php5
1 files changed, 4 insertions, 1 deletions
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);