/[drupal]/contributions/modules/image/contrib/image_attach/image_attach.module
ViewVC logotype

Diff of /contributions/modules/image/contrib/image_attach/image_attach.module

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

revision 1.9.2.18.2.4, Sun May 17 02:05:21 2009 UTC revision 1.9.2.18.2.5, Tue Nov 3 01:21:42 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: image_attach.module,v 1.9.2.18.2.3 2009/03/22 18:44:42 joachim Exp $  // $Id: image_attach.module,v 1.9.2.18.2.4 2009/05/17 02:05:21 sun Exp $
3    
4  /**  /**
5   * @file image_attach.module   * @file image_attach.module
# Line 423  function image_attach_views_handler_filt Line 423  function image_attach_views_handler_filt
423      case 'handler':      case 'handler':
424        $query->ensure_table('image_attach');        $query->ensure_table('image_attach');
425        if ($filter['value']) {        if ($filter['value']) {
426          $query->add_where('image_attach.iid');          $query->add_where('image_attach.iid IS NOT NULL');
427        }        }
428        else {        else {
429          $query->add_where('ISNULL(image_attach.iid)');          $query->add_where('image_attach.iid IS NULL');
430        }        }
431        break;        break;
432    }    }

Legend:
Removed from v.1.9.2.18.2.4  
changed lines
  Added in v.1.9.2.18.2.5

  ViewVC Help
Powered by ViewVC 1.1.2