Ignore:
Timestamp:
Oct 19, 2013, 7:43:04 PM (11 years ago)
Author:
mistic100
Message:

remove all array_push (50% slower than []) + some changes missing for feature:2978

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/picture_modify.php

    r25005 r25018  
    105105{
    106106  sync_metadata(array( intval($_GET['image_id'])));
    107   array_push($page['infos'], l10n('Metadata synchronized from file'));
     107  $page['infos'][] = l10n('Metadata synchronized from file');
    108108}
    109109
     
    121121    )
    122122  {
    123     array_push($page['errors'], l10n('wrong date'));
     123    $page['errors'][] = l10n('wrong date');
    124124  }
    125125}
     
    204204  $represent_options_selected = $_POST['represent'];
    205205 
    206   array_push($page['infos'], l10n('Photo informations updated'));
     206  $page['infos'][] = l10n('Photo informations updated');
    207207}
    208208
Note: See TracChangeset for help on using the changeset viewer.