/[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.12, Tue Jul 15 14:21:21 2008 UTC revision 1.87.2.13, Tue Jul 15 14:25:07 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: mailhandler.module,v 1.87.2.11 2008/07/07 01:03:16 weitzman Exp $  // $Id: mailhandler.module,v 1.87.2.12 2008/07/15 14:21:21 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    if (is_array($saved_errors) && count($saved_errors))    if (is_array($saved_errors) && count($saved_errors)) {
183      $_SESSION['messages']['error'] = $saved_errors;      $_SESSION['messages']['error'] = $saved_errors;
184    else    }
185      else {
186      unset($_SESSION['messages']['error']);      unset($_SESSION['messages']['error']);
187      }
188    
189    if (!$error) {    if (!$error) {
190      // Prepare the node for save and allow modules make changes      // Prepare the node for save and allow modules make changes

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

  ViewVC Help
Powered by ViewVC 1.1.2