Changeset 26926 for trunk


Ignore:
Timestamp:
Jan 23, 2014, 8:16:14 PM (10 years ago)
Author:
mistic100
Message:

bug 3033: allow HTML in photo names from Batch Manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_unit.php

    r26461 r26926  
    6767    $data['author'] = $_POST['author-'.$row['id']];
    6868    $data['level'] = $_POST['level-'.$row['id']];
    69 
    70     foreach (array('name', 'level') as $field)
    71     {
    72       if (!empty($_POST[$field.'-'.$row['id']]))
    73       {
    74         $data[$field] = strip_tags($_POST[$field.'-'.$row['id']]);
    75       }
    76     }
    7769
    7870    if ($conf['allow_html_descriptions'])
Note: See TracChangeset for help on using the changeset viewer.