mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
bug 3033: allow HTML in photo names from Batch Manager
git-svn-id: http://piwigo.org/svn/trunk@26926 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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']];
|
||||
|
||||
Reference in New Issue
Block a user