From 2b27ae72742c8bd57f0683c081411ac985b1c131 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Wed, 27 Oct 2010 07:48:19 +0000 Subject: [PATCH] MDL-24878 fixed missing returns in cli fatal_error rendering --- lib/outputrenderers.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index bf6a3f43214..1f3816781c2 100644 --- 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; } /** -- 2.43.0