diff options
author | mistic100 <mistic@piwigo.org> | 2014-01-23 19:16:14 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-01-23 19:16:14 +0000 |
commit | e255abf3e22962b71341310a145b071d15fd65e3 (patch) | |
tree | f9ea6a56a9e04d4c571fef2143473a77f0e5fe2b /admin | |
parent | 788e9eef64d889dd689894ce6c6727758bf3e1f6 (diff) |
bug 3033: allow HTML in photo names from Batch Manager
git-svn-id: http://piwigo.org/svn/trunk@26926 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r-- | admin/batch_manager_unit.php | 8 |
1 files changed, 0 insertions, 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']]; |