Merge branch 'MDL-53407-editing-css' of https://github.com/Dagefoerde/moodle

This commit is contained in:
Dan Poltawski
2016-03-21 14:48:41 +08:00
+1 -1
View File
@@ -1756,7 +1756,7 @@ class moodle_page {
$this->add_body_class('notloggedin');
}
if (!empty($USER->editing)) {
if ($this->user_is_editing()) {
$this->add_body_class('editing');
if (optional_param('bui_moveid', false, PARAM_INT)) {
$this->add_body_class('blocks-moving');