? before.sql
? info_cleanup.patch
? schedule/before.sql
? schedule/working.patch
Index: station.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/station/station.module,v
retrieving revision 1.49
diff -u -p -r1.49 station.module
--- station.module	29 May 2009 04:30:46 -0000	1.49
+++ station.module	4 Jun 2009 15:50:12 -0000
@@ -93,6 +93,7 @@ function station_block($op = 'list', $de
       'info'   => t('Station: Current Program'),
       'status' => TRUE,
       'region' => 'left',
+      'cache'  => BLOCK_NO_CACHE,
     );
     return $blocks;
   }
@@ -331,11 +332,11 @@ function theme_station_block_current_pro
  *   Schedule's streams.
  */
 function theme_station_streams($streams) {
-  if (is_array($streams) && count($streams)) {
-    $items = array();
-    foreach ($streams as $key => $stream) {
-      $items[] = l($stream['name'], $stream['m3u_url'], array('title' => $stream['description']));
-    }
+  $items = array();
+  foreach ((array) $streams as $key => $stream) {
+    $items[] = l($stream['name'], $stream['m3u_url'], array('title' => $stream['description']));
+  }
+  if (count($items)) {
     return t('Tune in: ') . station_ored_list($items);
   }
 }
