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 = '';
|
$resource->options = '';
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if ($resource->blockdisplay) {
|
if (empty($resource->blockdisplay)) {
|
||||||
$resource->options = 'showblocks';
|
|
||||||
} else {
|
|
||||||
$resource->options = '';
|
$resource->options = '';
|
||||||
|
} else {
|
||||||
|
$resource->options = 'showblocks';
|
||||||
}
|
}
|
||||||
unset($resource->blockdisplay);
|
unset($resource->blockdisplay);
|
||||||
$resource->popup = '';
|
$resource->popup = '';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue