--- ../src/moodle/lib/weblib.php 2009-02-16 15:05:37.000000000 -0800
+++ lib/weblib.php 2009-04-01 14:29:05.000000000 -0700
@@ -6908,7 +6908,7 @@
if ($CFG->debug >= $level) {
if ($message) {
$callers = debug_backtrace();
- $from = '
';
+ $from = '';
foreach ($callers as $caller) {
if (!isset($caller['line'])) {
$caller['line'] = '?'; // probably call_user_func()
@@ -6916,7 +6916,7 @@
if (!isset($caller['file'])) {
$caller['file'] = $CFG->dirroot.'/unknownfile'; // probably call_user_func()
}
- $from .= '- line ' . $caller['line'] . ' of ' . substr($caller['file'], strlen($CFG->dirroot) + 1);
+ $from .= '
- line ' . $caller['line'] . ' of ' . substr($caller['file'], strlen($CFG->dirroot) + 1);
if (isset($caller['function'])) {
$from .= ': call to ';
if (isset($caller['class'])) {
@@ -6934,7 +6934,7 @@
if (!defined('DEBUGGING_PRINTED')) {
define('DEBUGGING_PRINTED', 1); // indicates we have printed something
}
- notify($message . $from, 'notifytiny');
+ notify($message . $from, 'notifytiny', 'left');
} else {
trigger_error($message . $from, E_USER_NOTICE);
}