/[drupal]/contributions/modules/tapatio/comms.module
ViewVC logotype

Diff of /contributions/modules/tapatio/comms.module

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

revision 1.1.4.23 by evoltech, Wed Sep 23 21:27:32 2009 UTC revision 1.1.4.24 by evoltech, Wed Sep 23 21:31:08 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: comms.module,v 1.1.4.22 2009/09/23 07:55:59 evoltech Exp $  // $Id: comms.module,v 1.1.4.23 2009/09/23 21:27:32 evoltech Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 365  function comms_submit(&$node) { Line 365  function comms_submit(&$node) {
365      // this comms node.      // this comms node.
366      foreach ($node->taxonomy[$vid] as $term_id) {      foreach ($node->taxonomy[$vid] as $term_id) {
367        $gids = _comms_get_gids_by_tid($term_id);        $gids = _comms_get_gids_by_tid($term_id);
       //dpm('$gids associated with '. $term_id .': '. implode(', ', $gids));  
368        if (!is_array($gids) || $gids == -1) {        if (!is_array($gids) || $gids == -1) {
369          drupal_set_message(t('comms_submit', 'We are unable to process this submission because there is a critical problem with the tapatio module.  Please contact an admin and try again later'), 'error', FALSE);          drupal_set_message(t('comms_submit', 'We are unable to process this submission because there is a critical problem with the tapatio module.  Please contact an admin and try again later'), 'error', FALSE);
370          return;          return;
# Line 376  function comms_submit(&$node) { Line 375  function comms_submit(&$node) {
375        }        }
376      }      }
377    }    }
   dpm('$node->og_groups: '. print_r($node->og_groups, 1));  
378  }  }
379    
380  function comms_form(&$node) {  function comms_form(&$node) {

Legend:
Removed from v.1.1.4.23  
changed lines
  Added in v.1.1.4.24

  ViewVC Help
Powered by ViewVC 1.1.3