1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-25 10:26:17 +02:00

javascript-dock MDL-21329 Fixed regression with CFG var

This commit is contained in:
Sam Hemelryk 2010-01-14 07:04:37 +00:00
parent d2c394f3c3
commit 598ee31708

@ -746,7 +746,7 @@ class block_base {
public function instance_can_be_docked() {
global $CFG;
return ($CFG->allowblockstodock && $this->page->theme->enable_dock);
return (!empty($CFG->allowblockstodock) && $this->page->theme->enable_dock);
}
public function _initialise_dock() {