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

Diff of /contributions/modules/createcontentblock/createcontentblock.module

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

revision 1.1.2.7, Thu Feb 21 20:29:09 2008 UTC revision 1.1.2.8, Tue Mar 4 18:22:21 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: createcontentblock.module,v 1.1.2.6 2007/12/19 00:14:56 douggreen Exp $  // $Id: createcontentblock.module,v 1.1.2.7 2008/02/21 20:29:09 douggreen Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 157  function createcontentblock_form_submit( Line 157  function createcontentblock_form_submit(
157    elseif (isset($form['gid'])) {    elseif (isset($form['gid'])) {
158      $fragment[] = 'gids[]='. $form['gid'];      $fragment[] = 'gids[]='. $form['gid'];
159      drupal_goto('node/add-og', implode('&', $fragment));      drupal_goto('node/add-og', implode('&', $fragment));
160    }    }
161    else {    else {
162      drupal_goto('node/add', implode('&', $fragment));      drupal_goto('node/add', implode('&', $fragment));
163    }    }

Legend:
Removed from v.1.1.2.7  
changed lines
  Added in v.1.1.2.8

  ViewVC Help
Powered by ViewVC 1.1.2