From: Dave Tosh
Date: Wed, 30 Jun 2010 16:12:10 +0000 (+0000)
Subject: videolist edit bug fixed
X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3325532fe3740a14991007f03b976b5d9877c2e9;p=lorea%2Felgg.git
videolist edit bug fixed
git-svn-id: http://code.elgg.org@6594 36083f99-b078-4883-b0ff-0f9b5a30f544
---
diff --git a/views/default/forms/edit.php b/views/default/forms/edit.php
index f684689da..7d7901bcd 100644
--- a/views/default/forms/edit.php
+++ b/views/default/forms/edit.php
@@ -6,6 +6,12 @@
gatekeeper();
$page_owner = page_owner_entity();
$container_guid = $vars['entity']->container_guid;
+$owner = get_entity($container_guid);
+if($owner instanceof ElggGroup){
+ $options = group_access_options($owner);
+}else{
+ $options = '';
+}
?>