/[drupal]/contributions/modules/imagecache_actions/utility.inc
ViewVC logotype

Diff of /contributions/modules/imagecache_actions/utility.inc

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

revision 1.4.2.11, Mon Aug 31 04:12:20 2009 UTC revision 1.4.2.12, Tue Sep 15 23:42:00 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: utility.inc,v 1.4.2.11 2009/08/31 04:12:20 dman Exp $
3  /**  /**
4   * @file Utility form, conversion and rendering functions for image processes   * @file Utility form, conversion and rendering functions for image processes
5   */   */
# Line 372  function imagecache_actions_node_from_fi Line 372  function imagecache_actions_node_from_fi
372            $query_args[] = $fid;            $query_args[] = $fid;
373          }          }
374    
375          $result = db_query("SELECT nid FROM {$tablename} WHERE ". join(' OR ', $wheres), $query_args);          $result = db_query('SELECT nid FROM {'. $tablename .'} WHERE '. join(' OR ', $wheres), $query_args);
376    
377          while ($row = db_fetch_array($result)) {          while ($row = db_fetch_array($result)) {
378            // This while is a dummy loop - Just break out and return the first matching node.            // This while is a dummy loop - Just break out and return the first matching node.

Legend:
Removed from v.1.4.2.11  
changed lines
  Added in v.1.4.2.12

  ViewVC Help
Powered by ViewVC 1.1.2