Ignore:
Timestamp:
Jul 27, 2010, 2:37:38 PM (14 years ago)
Author:
plg
Message:

merge r6713 from branch 2.1 to trunk

bug 1757 fixed: ability to use HTML in author field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/picture_modify.php

    r6363 r6714  
    237237    'REGISTRATION_DATE' => format_date($row['date_available']),
    238238
    239     'AUTHOR' => isset($_POST['author']) ? $_POST['author'] : @$row['author'],
     239    'AUTHOR' => htmlspecialchars(
     240      isset($_POST['author'])
     241        ? stripslashes($_POST['author'])
     242        : @$row['author']
     243      ),
    240244
    241245    'DESCRIPTION' =>
Note: See TracChangeset for help on using the changeset viewer.