mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-8460 Notice in resource/type/text class
This commit is contained in:
parent
5fe904adc2
commit
3a914645ac
1 changed files with 3 additions and 3 deletions
|
@ -33,10 +33,10 @@ function _postprocess(&$resource) {
|
|||
$resource->options = '';
|
||||
|
||||
} else {
|
||||
if ($resource->blockdisplay) {
|
||||
$resource->options = 'showblocks';
|
||||
} else {
|
||||
if (empty($resource->blockdisplay)) {
|
||||
$resource->options = '';
|
||||
} else {
|
||||
$resource->options = 'showblocks';
|
||||
}
|
||||
unset($resource->blockdisplay);
|
||||
$resource->popup = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue