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

Diff of /contributions/modules/mailhandler/mailhandler.module

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

revision 1.87.2.11, Mon Jul 7 01:03:16 2008 UTC revision 1.87.2.12, Tue Jul 15 14:21:21 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: mailhandler.module,v 1.87.2.10 2008/07/06 20:07:09 weitzman Exp $  // $Id: mailhandler.module,v 1.87.2.11 2008/07/07 01:03:16 weitzman Exp $
3    
4  /**  /**
5   * Retrieve all msgs from a given mailbox and process them.   * Retrieve all msgs from a given mailbox and process them.
# Line 179  function mailhandler_node_submit($node, Line 179  function mailhandler_node_submit($node,
179        }        }
180      }      }
181    }    }
182    $_SESSION['messages']['error'] = $saved_errors;    if (is_array($saved_errors) && count($saved_errors))
183        $_SESSION['messages']['error'] = $saved_errors;
184      else
185        unset($_SESSION['messages']['error']);
186    
187    if (!$error) {    if (!$error) {
188      // Prepare the node for save and allow modules make changes      // Prepare the node for save and allow modules make changes
189      $node = node_submit($node);      $node = node_submit($node);

Legend:
Removed from v.1.87.2.11  
changed lines
  Added in v.1.87.2.12

  ViewVC Help
Powered by ViewVC 1.1.2