diff options
author | Sem <sembrestels@riseup.net> | 2012-12-13 03:34:47 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-12-13 03:34:47 +0100 |
commit | 5fdacb4b36d351998d96693d3d35218ee91a70ff (patch) | |
tree | a720759de12ab5d8a612f41a4b795696a343724e /mod/groups | |
parent | 6623571b615fc5c9d1b82e2607de4cdaee8a818b (diff) | |
download | elgg-5fdacb4b36d351998d96693d3d35218ee91a70ff.tar.gz elgg-5fdacb4b36d351998d96693d3d35218ee91a70ff.tar.bz2 |
Checking if we have an owner before using it.
Diffstat (limited to 'mod/groups')
-rw-r--r-- | mod/groups/views/default/groups/profile/summary.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/groups/views/default/groups/profile/summary.php b/mod/groups/views/default/groups/profile/summary.php index 54abcb1e5..6eca9745e 100644 --- a/mod/groups/views/default/groups/profile/summary.php +++ b/mod/groups/views/default/groups/profile/summary.php @@ -15,6 +15,10 @@ if (!isset($vars['entity']) || !$vars['entity']) { $group = $vars['entity']; $owner = $group->getOwnerEntity(); +if (!$owner) { + return true; +} + ?> <div class="groups-profile clearfix elgg-image-block"> <div class="elgg-image"> |