Skip to content

Commit

Permalink
MBS-8399: Fix undefined attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
PM84 committed Nov 16, 2023
1 parent 4b7c682 commit 467843e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block_qr.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function get_content() {
}

// Short link option only in edit mode.
if ($USER->editing == 0) {
if (empty($USER->editing)) {
$fullview = false;
} else {
$fullview = true;
Expand Down

0 comments on commit 467843e

Please sign in to comment.