Ignore:
Timestamp:
Dec 9, 2011, 2:24:32 PM (9 years ago)
Author:
patdenice
Message:

Clean code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GThumb/main.inc.php

    r12705 r12710  
    128128  global $conf;
    129129
    130   if (empty($picture['width']))
     130  if (!in_array(get_extension($picture['file']), $conf['picture_ext']))
    131131  {
    132132    $file = get_thumbnail_url($picture);
Note: See TracChangeset for help on using the changeset viewer.