aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/canvas/layouts/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php
index bcd939dbb..7698e05d0 100644
--- a/views/default/canvas/layouts/widgets.php
+++ b/views/default/canvas/layouts/widgets.php
@@ -26,7 +26,7 @@
}
- if (is_array($widgettypes) && sizeof($widgettypes) > 0 && $owner->canEdit()) {
+ if (is_array($widgettypes) && sizeof($widgettypes) > 0 && $owner && $owner->canEdit()) {
?>