Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bd2b1c
)
MDL-24878 fixed missing returns in cli fatal_error rendering
author
Petr Skoda
<skodak@moodle.org>
Wed, 27 Oct 2010 07:48:19 +0000
(07:48 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Wed, 27 Oct 2010 07:48:19 +0000
(07:48 +0000)
lib/outputrenderers.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/outputrenderers.php
b/lib/outputrenderers.php
index
bf6a3f4
..
1f38167
100644
(file)
--- a/
lib/outputrenderers.php
+++ b/
lib/outputrenderers.php
@@
-2615,12
+2615,14
@@
class core_renderer_cli extends core_renderer {
if (debugging('', DEBUG_DEVELOPER)) {
if (!empty($debuginfo)) {
- $this->notification($debuginfo, 'notifytiny');
+ $
output .= $
this->notification($debuginfo, 'notifytiny');
}
if (!empty($backtrace)) {
- $this->notification('Stack trace: ' . format_backtrace($backtrace, true), 'notifytiny');
+ $
output .= $
this->notification('Stack trace: ' . format_backtrace($backtrace, true), 'notifytiny');
}
}
+
+ return $output;
}
/**