[mythtv-commits] Ticket #4446: music.php playlist query uses invalid table and field names.

MythTV mythtv at cvs.mythtv.org
Wed Jan 9 03:44:51 UTC 2008


#4446: music.php playlist query uses invalid table and field names.
----------------------+-----------------------------------------------------
 Reporter:  I3ooI3oo  |       Owner:  xris   
     Type:  defect    |      Status:  new    
 Priority:  minor     |   Milestone:  unknown
Component:  mythweb   |     Version:  0.20.2 
 Severity:  low       |     Mlocked:  0      
----------------------+-----------------------------------------------------
 In file mythweb/modules/music/tmpl/default/music.php the function
 playListSelector has the following query.

 {{{
 $query="SELECT playlistid, name from musicplaylist order by name";
 }}}

 The table name is wrong, the fieldnames are allow incorrect. The following
 uses the corrected names.


 {{{
 $query="SELECT playlist_id,playlist_name from music_playlists order by
 playlist_name";
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4446>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list