aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-12-13 03:58:35 +0100
committerSem <sembrestels@riseup.net>2012-12-13 03:58:35 +0100
commit3bba832ec8b076067b794a959187c490dbf6a97f (patch)
treee337212e1df7318c594ac97908a73006c6f8c6b4 /mod/groups
parentfd65cecdd7be2af0b86e193aa85e9ca99c8a43ae (diff)
parent5fdacb4b36d351998d96693d3d35218ee91a70ff (diff)
downloadelgg-3bba832ec8b076067b794a959187c490dbf6a97f.tar.gz
elgg-3bba832ec8b076067b794a959187c490dbf6a97f.tar.bz2
Merge branch 'groups-summary-owner' of github.com:sembrestels/Elgg into foxglove-1
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/views/default/groups/profile/summary.php4
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">