aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-05 15:45:35 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-05 15:45:35 +0000
commita6f6cdd914e4cec405c59252ad8ac8551d7e344b (patch)
treed1544c01bf21474c8b0c340563e069d1e68fb9cb
parent321d737a3d1b515327e322a3059b933d555eff86 (diff)
downloadelgg-a6f6cdd914e4cec405c59252ad8ac8551d7e344b.tar.gz
elgg-a6f6cdd914e4cec405c59252ad8ac8551d7e344b.tar.bz2
Fixes #204
git-svn-id: https://code.elgg.org/elgg/trunk@1713 36083f99-b078-4883-b0ff-0f9b5a30f544
-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()) {
?>