/[drupal]/contributions/modules/mlm/include/mlm.subscription.inc
ViewVC logotype

Diff of /contributions/modules/mlm/include/mlm.subscription.inc

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

revision 1.2, Wed Aug 26 02:51:34 2009 UTC revision 1.3, Wed Aug 26 23:03:36 2009 UTC
# Line 1  Line 1 
1  <?php // $Id: mlm.subscription.inc,v 1.1 2009/08/23 23:07:05 vauxia Exp $  <?php // $Id: mlm.subscription.inc,v 1.2 2009/08/26 02:51:34 vauxia Exp $
2    
3  /**  /**
4   * A #process handler for mlm subscription elements.   * A #process handler for mlm subscription elements.
# Line 103  function mlm_subscription_submit($form, Line 103  function mlm_subscription_submit($form,
103    
104        foreach ($form[$key]['#mlm_lists'] as $mlm) {        foreach ($form[$key]['#mlm_lists'] as $mlm) {
105          $mlm = mlm_load($mlm);          $mlm = mlm_load($mlm);
         print_r($mlm);  
106          if ($values['subscribe_'. $mlm->lid]) {          if ($values['subscribe_'. $mlm->lid]) {
107            $mlm->_subscribe($account, $values);            $mlm->_subscribe($account, $values);
108          }          }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2