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

Diff of /contributions/modules/nodequeue/nodequeue.module

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

revision 1.97, Sat Oct 24 20:35:08 2009 UTC revision 1.98, Thu Nov 5 02:04:43 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nodequeue.module,v 1.96 2009/10/24 20:25:47 ezrag Exp $  // $Id: nodequeue.module,v 1.97 2009/10/24 20:35:08 ezrag Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 2317  function nodequeue_nodequeue_form_submit Line 2317  function nodequeue_nodequeue_form_submit
2317      // A 0 will set the reference to the sqid of the queue.      // A 0 will set the reference to the sqid of the queue.
2318      $queue->add_subqueue = array(0 => $queue->title);      $queue->add_subqueue = array(0 => $queue->title);
2319    }    }
2320      //If the qid is set at this point, we're saving an existing queue.
2321      if (isset($queue->qid)) {
2322        //We don't check to see if the title has been updated since the $queue object already matches $form_state['values'].
2323        db_query("UPDATE {nodequeue_subqueue} SET title = '%s' WHERE qid = %d", array($form_state['values']['title'], $queue->qid));
2324      }
2325  }  }
2326    
2327  // --------------------------------------------------------------------------  // --------------------------------------------------------------------------

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98

  ViewVC Help
Powered by ViewVC 1.1.2