aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/forms/videolist/edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/forms/videolist/edit.php b/views/default/forms/videolist/edit.php
index 8bbbcffb7..18fb6ded4 100644
--- a/views/default/forms/videolist/edit.php
+++ b/views/default/forms/videolist/edit.php
@@ -10,6 +10,8 @@ $variables = elgg_get_config('videolist');
if(empty($vars['guid'])){
unset($variables['title']);
unset($variables['description']);
+} else {
+ unset($variables['video_url']);
}
foreach ($variables as $name => $type) {