Changeset 12859


Ignore:
Timestamp:
Jan 6, 2012, 5:19:00 PM (9 years ago)
Author:
patdenice
Message:

Mistake on last commit

File:
1 edited

Legend:

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

    r12858 r12859  
    164164  }
    165165
    166   if ( !empty( $picture['tn_ext'] ) )
     166  if ( !empty($picture['tn_ext']) )
    167167  {
    168168    $file = substr_replace(get_filename_wo_extension($picture['path']), '/GThumb/',strrpos($picture['path'],'/'),1).'.'.$picture['tn_ext'];
     
    171171      list($width, $height) = getimagesize($file);
    172172
    173       $result = array(
     173      return array(
    174174        'src' => embellish_url(get_root_url().$file),
    175175        'width' => $width,
Note: See TracChangeset for help on using the changeset viewer.