diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-02-15 15:50:14 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-02-15 15:50:14 +0000 |
commit | 2ec9c9c82c2fdba1056bbab3d17041a06daf99aa (patch) | |
tree | 47df0c62393340a02f85c8e1cf8e35375811ec6d /phpBB/includes/functions.php | |
parent | ff9df321ee2254998ca2b9852c16e18fb309d10d (diff) | |
download | forums-2ec9c9c82c2fdba1056bbab3d17041a06daf99aa.tar forums-2ec9c9c82c2fdba1056bbab3d17041a06daf99aa.tar.gz forums-2ec9c9c82c2fdba1056bbab3d17041a06daf99aa.tar.bz2 forums-2ec9c9c82c2fdba1056bbab3d17041a06daf99aa.tar.xz forums-2ec9c9c82c2fdba1056bbab3d17041a06daf99aa.zip |
display complete backtrace. ;)
git-svn-id: file:///svn/phpbb/trunk@5556 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index c139eb5a11..1a2d927c99 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1635,7 +1635,13 @@ function add_log() function msg_handler($errno, $msg_text, $errfile, $errline) { global $cache, $db, $auth, $template, $config, $user; - global $phpEx, $phpbb_root_path, $starttime, $msg_title; + global $phpEx, $phpbb_root_path, $starttime, $msg_title, $msg_long_text; + + // Message handler is stripping text. In case we need it, we are possible to define long text... + if (isset($msg_long_text) && $msg_long_text && !$msg_text) + { + $msg_text = $msg_long_text; + } switch ($errno) { |