Index: station_playlist.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/station/playlist/station_playlist.module,v
retrieving revision 1.18
diff -u -p -r1.18 station_playlist.module
--- station_playlist.module	13 Jan 2009 05:06:30 -0000	1.18
+++ station_playlist.module	3 Mar 2009 20:37:15 -0000
@@ -445,9 +445,10 @@ function station_playlist_nodeapi(&$node
  * items.
  */
 function station_playlist_autocomplete($field = '', $string = '') {
+
   $matches = array();
   if (in_array($field, array('artist', 'title', 'album', 'label'))) {
-    $result = db_query_range('SELECT DISTINCT %s AS val FROM {station_playlist_track} WHERE LOWER(%s) LIKE LOWER("%s%%") ORDER BY val', $field, $field, $string, 0, 10);
+    $result = db_query_range('SELECT DISTINCT %s AS val FROM {station_catalog} WHERE LOWER(%s) LIKE LOWER("%s%%") ORDER BY val', $field, $field, $string, 0, 10);
     while ($item = db_fetch_object($result)) {
       $matches[$item->val] = check_plain($item->val);
     }
