Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3a0b30c
)
Merge branch 'MDL-53407-editing-css' of https://github.com/Dagefoerde/moodle
author
Dan Poltawski
<dan@moodle.com>
Mon, 21 Mar 2016 06:48:41 +0000
(14:48 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Mon, 21 Mar 2016 06:48:41 +0000
(14:48 +0800)
lib/pagelib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/pagelib.php
b/lib/pagelib.php
index
811234f
..
6c2cd9c
100644
(file)
--- a/
lib/pagelib.php
+++ b/
lib/pagelib.php
@@
-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');