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

Diff of /contributions/modules/node_export/node_export.module

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

revision 1.1.2.5, Sat Oct 31 06:11:59 2009 UTC revision 1.1.2.6, Sat Oct 31 06:18:10 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: node_export.module,v 1.1.2.2 2009/09/08 10:14:12 danielb Exp $  // $Id: node_export.module,v 1.1.2.5 2009/10/31 06:11:59 danielb Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 553  function node_export_import_form($form_s Line 553  function node_export_import_form($form_s
553    
554    if (isset($node_code)) {    if (isset($node_code)) {
555      $result = node_export_import($node_code);      $result = node_export_import($node_code);
556      if ($result === FALSE) {      if (!empty($result)) {
       // There was a problem with types?  
       drupal_set_message(t('Problem found with the import file. Check the node types exist.'), 'error');  
     }  
     else if (!empty($result)) {  
557        return $result;        return $result;
558      }      }
559    }    }

Legend:
Removed from v.1.1.2.5  
changed lines
  Added in v.1.1.2.6

  ViewVC Help
Powered by ViewVC 1.1.2