From 4585e371857636c1dece9978fba65d978a3afc78 Mon Sep 17 00:00:00 2001 From: Sem Date: Sat, 12 Nov 2011 01:25:31 +0100 Subject: Refactored video savings to permit change title and description when editing and avoid to change url. --- views/default/forms/videolist/edit.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'views/default/forms/videolist') 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) { -- cgit v1.2.3