diff options
| author | Sem <sembrestels@riseup.net> | 2011-11-12 01:25:31 +0100 |
|---|---|---|
| committer | Sem <sembrestels@riseup.net> | 2011-11-12 01:25:31 +0100 |
| commit | 4585e371857636c1dece9978fba65d978a3afc78 (patch) | |
| tree | bff1912db02892344bd03d42be5f54dfcfbc547a /views/default/forms | |
| parent | 9b176145bc10850e02b8602bb670d6832945ea83 (diff) | |
| download | elgg-4585e371857636c1dece9978fba65d978a3afc78.tar.gz elgg-4585e371857636c1dece9978fba65d978a3afc78.tar.bz2 | |
Refactored video savings to permit change title and description when editing and avoid to change url.
Diffstat (limited to 'views/default/forms')
| -rw-r--r-- | views/default/forms/videolist/edit.php | 2 |
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) { |
