Changeset 31909


Ignore:
Timestamp:
Mar 8, 2018, 1:13:26 PM (2 years ago)
Author:
plg
Message:

do not change images.lastmodified when increasing images.hit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/lightbox/save_history.php

    r21240 r31909  
    1616$image_id = pwg_db_real_escape_string($imgid[1]);
    1717
    18 $query = 'UPDATE '.IMAGES_TABLE.' SET hit=hit+1 WHERE id = '.$image_id.';';
     18$query = 'UPDATE '.IMAGES_TABLE.' SET hit=hit+1, lastmodified = lastmodified WHERE id = '.$image_id.';';
    1919pwg_query($query);
    2020
Note: See TracChangeset for help on using the changeset viewer.