diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2013-01-08 09:01:20 -0800 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2013-01-08 09:01:20 -0800 |
commit | 2640c73760721f0c93043a7dfe1540907aa95452 (patch) | |
tree | c5c3a63db690873eb396dff1ff161973a5a82ceb /mod/groups/views | |
parent | 41a4e14255894874be61347e3c65ced96e38b386 (diff) | |
parent | 5fdacb4b36d351998d96693d3d35218ee91a70ff (diff) | |
download | elgg-2640c73760721f0c93043a7dfe1540907aa95452.tar.gz elgg-2640c73760721f0c93043a7dfe1540907aa95452.tar.bz2 |
Merge pull request #472 from sembrestels/groups-summary-owner
Checking if we have an owner in group profile summary before using it.
Diffstat (limited to 'mod/groups/views')
-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"> |