mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
Fixed a notice relating to customcorners not being initialised
This commit is contained in:
parent
e945004fd1
commit
0719c922ef
@ -39,6 +39,9 @@ function print_custom_corners_start($clearfix=false, $return=false, $idbase=null
|
||||
$output .= '<div '.$idi1.'class="i1"><div '.$idi2.'class="i2">';
|
||||
$output .= (!empty($clearfix)) ? '<div '.$idi3.'class="i3 clearfix">' : '<div '.$idi3.'class="i3">';
|
||||
|
||||
if (!isset($THEME->customcornersopen)) {
|
||||
$THEME->customcornersopen = 0;
|
||||
}
|
||||
$THEME->customcornersopen += 1;
|
||||
|
||||
if ($return) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user