Ignore:
Timestamp:
Oct 19, 2013, 8:17:10 PM (11 years ago)
Author:
mistic100
Message:

replace some mass_updates/inserts by single_update/insert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/picture_modify.php

    r25018 r25019  
    155155  }
    156156
    157   mass_updates(
     157  single_update(
    158158    IMAGES_TABLE,
    159     array(
    160       'primary' => array('id'),
    161       'update' => array_diff(array_keys($data), array('id'))
    162       ),
    163     array($data)
     159    $data,
     160    array('id' => $data['id'])
    164161    );
    165162
Note: See TracChangeset for help on using the changeset viewer.