/[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.37, Fri Jul 11 13:12:57 2008 UTC revision 1.39.2.38, Mon Aug 4 22:28:16 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nodereference.module,v 1.39.2.36 2008/04/28 23:50:29 karens Exp $  // $Id: nodereference.module,v 1.39.2.37 2008/07/11 13:12:57 yched Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 341  function nodereference_widget($op, &$nod Line 341  function nodereference_widget($op, &$nod
341                // explicit nid                // explicit nid
342                list(, $title, $nid) = $matches;                list(, $title, $nid) = $matches;
343                if (!empty($title) && ($n = node_load($nid)) && $title != $n->title) {                if (!empty($title) && ($n = node_load($nid)) && $title != $n->title) {
344                  form_set_error($error_field, t('%name : Title mismatch. Please check your selection.'), array('%name' => t($field['widget']['label'])));                  form_set_error($error_field, t('%name : Title mismatch. Please check your selection.', array('%name' => t($field['widget']['label']))));
345                }                }
346              }              }
347              else {              else {

Legend:
Removed from v.1.39.2.37  
changed lines
  Added in v.1.39.2.38

  ViewVC Help
Powered by ViewVC 1.1.2