diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-05 15:45:35 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-05 15:45:35 +0000 |
commit | a6f6cdd914e4cec405c59252ad8ac8551d7e344b (patch) | |
tree | d1544c01bf21474c8b0c340563e069d1e68fb9cb /views | |
parent | 321d737a3d1b515327e322a3059b933d555eff86 (diff) | |
download | elgg-a6f6cdd914e4cec405c59252ad8ac8551d7e344b.tar.gz elgg-a6f6cdd914e4cec405c59252ad8ac8551d7e344b.tar.bz2 |
Fixes #204
git-svn-id: https://code.elgg.org/elgg/trunk@1713 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/canvas/layouts/widgets.php | 2 |
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()) { ?> |