From 3325532fe3740a14991007f03b976b5d9877c2e9 Mon Sep 17 00:00:00 2001
From: Dave Tosh
Date: Wed, 30 Jun 2010 16:12:10 +0000
Subject: videolist edit bug fixed
git-svn-id: http://code.elgg.org@6594 36083f99-b078-4883-b0ff-0f9b5a30f544
---
views/default/forms/edit.php | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
(limited to 'views/default/forms/edit.php')
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 = '';
+}
?>
--
cgit v1.2.3