Changeset 27045


Ignore:
Timestamp:
Jan 29, 2014, 9:51:18 PM (7 years ago)
Author:
plg
Message:

avoid Fatal Error when date_creation is NULL for pending photos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/admin_pendings.php

    r26557 r27045  
    255255      'DIMENSIONS' => $dimensions,
    256256      'FILE' => $row['file'],
    257       'DATE_CREATION' => format_date($row['date_creation']),
     257      'DATE_CREATION' => empty($row['date_creation']) ? l10n('N/A') : format_date($row['date_creation']),
    258258      'ALBUM' => $album,
    259259      )
Note: See TracChangeset for help on using the changeset viewer.