MDL-8460 Notice in resource/type/text class

This commit is contained in:
skodak 2007-02-13 19:50:46 +00:00
parent 5fe904adc2
commit 3a914645ac

View file

@ -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 = '';