From: nicolasconnault Date: Tue, 28 Jul 2009 02:31:30 +0000 (+0000) Subject: MDL-19756 Fixing deprecated print_spacer() function X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=bef1011e3d8aa75953e956b2e479204c3ffa71eb;p=moodle.git MDL-19756 Fixing deprecated print_spacer() function --- diff --git a/lib/deprecatedlib.php b/lib/deprecatedlib.php index 89ef4659e5..e8b96db743 100644 --- a/lib/deprecatedlib.php +++ b/lib/deprecatedlib.php @@ -2597,6 +2597,10 @@ function print_spacer($height=1, $width=1, $br=true, $return=false) { $output = $OUTPUT->spacer($spacer); + if ($br) { + $output .= '
'; + } + if ($return) { return $output; } else {