/[drupal]/contributions/modules/cck/nodereference.module
ViewVC logotype

Diff of /contributions/modules/cck/nodereference.module

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

revision 1.39.2.41, Wed Sep 17 09:12:29 2008 UTC revision 1.39.2.42, Wed Sep 17 18:02:28 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nodereference.module,v 1.39.2.40 2008/09/04 23:01:27 yched Exp $  // $Id: nodereference.module,v 1.39.2.41 2008/09/17 09:12:29 yched Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 456  function _nodereference_potential_refere Line 456  function _nodereference_potential_refere
456        return array();        return array();
457      }      }
458    
459      if (isset($string)) {      if ($string !== '') {
460        $string_clause = $exact_string ? " AND n.title = '%s'" : " AND n.title LIKE '%%%s%'";        $string_clause = $exact_string ? " AND n.title = '%s'" : " AND n.title LIKE '%%%s%'";
461        $related_clause = "(". $related_clause .")". $string_clause;        $related_clause = "(". $related_clause .")". $string_clause;
462        $args[] = $string;        $args[] = $string;

Legend:
Removed from v.1.39.2.41  
changed lines
  Added in v.1.39.2.42

  ViewVC Help
Powered by ViewVC 1.1.2