Changeset 29266 for extensions/community


Ignore:
Timestamp:
Aug 25, 2014, 10:21:51 AM (10 years ago)
Author:
plg
Message:

bug fixed: new pattern for admin photo url

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/add_photos.php

    r26562 r29266  
    324324    foreach ($page['thumbnails'] as $idx => $thumbnail)
    325325    {
    326       if (preg_match('/image_id=(\d+)/', $thumbnail['link'], $matches))
     326      if (preg_match('/page=photo-(\d+)/', $thumbnail['link'], $matches))
    327327      {
    328328        $page['thumbnails'][$idx]['link'] = make_picture_url(
Note: See TracChangeset for help on using the changeset viewer.