Changeset 26926


Ignore:
Timestamp:
01/23/14 20:16:14 (5 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.