mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-19756 Fixing deprecated print_spacer() function
This commit is contained in:
parent
8100c169db
commit
bef1011e3d
1 changed files with 4 additions and 0 deletions
|
@ -2597,6 +2597,10 @@ function print_spacer($height=1, $width=1, $br=true, $return=false) {
|
||||||
|
|
||||||
$output = $OUTPUT->spacer($spacer);
|
$output = $OUTPUT->spacer($spacer);
|
||||||
|
|
||||||
|
if ($br) {
|
||||||
|
$output .= '<br />';
|
||||||
|
}
|
||||||
|
|
||||||
if ($return) {
|
if ($return) {
|
||||||
return $output;
|
return $output;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue