/[drupal]/contributions/modules/station/playlist/station_playlist.module
ViewVC logotype

Diff of /contributions/modules/station/playlist/station_playlist.module

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

revision 1.22, Sun Jun 28 21:09:16 2009 UTC revision 1.23, Sun Sep 27 06:12:25 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: station_playlist.module,v 1.21 2009/06/11 15:52:11 drewish Exp $  // $Id: station_playlist.module,v 1.22 2009/06/28 21:09:16 drewish Exp $
3    
4  /**  /**
5   * Implementation of hook_help().   * Implementation of hook_help().
# Line 313  function station_playlist_load($node) { Line 313  function station_playlist_load($node) {
313    // Tracks    // Tracks
314    $extras = new stdClass();    $extras = new stdClass();
315    $extras->tracks = array();    $extras->tracks = array();
316    $result = db_query('SELECT weight, album, artist, title, label, link FROM {station_playlist_track} WHERE nid = %d ORDER BY weight', $node->nid);    $result = db_query('SELECT * FROM {station_playlist_track} WHERE nid = %d ORDER BY weight', $node->nid);
317    while ($track = db_fetch_array($result)) {    while ($track = db_fetch_array($result)) {
318      $extras->tracks[] = $track;      $extras->tracks[] = $track;
319    }    }

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.2