From a435ff38ed2f7a577e46d0d05c02dd1fc50a9c4d Mon Sep 17 00:00:00 2001 From: mistic100 Date: Thu, 23 Jan 2014 19:17:39 +0000 Subject: Merged revision(s) 26926 from trunk: bug 3033: allow HTML in photo names from Batch Manager git-svn-id: http://piwigo.org/svn/branches/2.6@26927 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/batch_manager_unit.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/admin/batch_manager_unit.php b/admin/batch_manager_unit.php index 550235929..ddf420674 100644 --- a/admin/batch_manager_unit.php +++ b/admin/batch_manager_unit.php @@ -67,14 +67,6 @@ SELECT id, date_creation $data['author'] = $_POST['author-'.$row['id']]; $data['level'] = $_POST['level-'.$row['id']]; - foreach (array('name', 'level') as $field) - { - if (!empty($_POST[$field.'-'.$row['id']])) - { - $data[$field] = strip_tags($_POST[$field.'-'.$row['id']]); - } - } - if ($conf['allow_html_descriptions']) { $data['comment'] = @$_POST['description-'.$row['id']]; -- cgit v1.2.3