MDL-50663 blocks: minor style fixes

This commit is contained in:
Dan Poltawski 2015-07-21 15:41:39 +01:00
parent da001d4dba
commit 8930d28254
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ if (!isguestuser()) { // Skip default home page for guests
}
// Toggle the editing state and switches
if (!$CFG->forcedefaultmymoodle && $PAGE->user_allowed_editing()) {
if (empty($CFG->forcedefaultmymoodle) && $PAGE->user_allowed_editing()) {
if ($reset !== null) {
if (!is_null($userid)) {
require_sesskey();