/[drupal]/contributions/modules/taxonomy_image/taxonomy_image.module
ViewVC logotype

Diff of /contributions/modules/taxonomy_image/taxonomy_image.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.12.4.13.2.46, Fri Apr 17 16:25:35 2009 UTC revision 1.12.4.13.2.47, Mon Apr 20 21:08:25 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: taxonomy_image.module,v 1.12.4.13.2.45 2009/04/17 15:54:43 nancyw Exp $  // $Id: taxonomy_image.module,v 1.12.4.13.2.46 2009/04/17 16:25:35 nancyw Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 265  function taxonomy_image_get_object($tid, Line 265  function taxonomy_image_get_object($tid,
265    if (!empty($image[$tid]->path)) {    if (!empty($image[$tid]->path)) {
266      $image[$tid]->tid = $tid;      $image[$tid]->tid = $tid;
267      $image[$tid]->vid = $term->vid;      $image[$tid]->vid = $term->vid;
268  //    $img = getimagesize($image[$tid]->path);      $img = getimagesize($fullpath . $image[$tid]->path);
269      $img = getimagesize($image[$tid]->url);  //    $img = getimagesize($image[$tid]->url);
270      // Make sure it worked.      // Make sure it worked.
271      if (!$img) {      if (!$img) {
272        return NULL;        return NULL;

Legend:
Removed from v.1.12.4.13.2.46  
changed lines
  Added in v.1.12.4.13.2.47

  ViewVC Help
Powered by ViewVC 1.1.2