diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-06 23:13:36 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-06 23:13:36 +0000 |
commit | 3914736c941f9cee4e78d1ee0be61f7216d43cff (patch) | |
tree | 0972aa4c34a124772f3d9b7d6ace3b7e7b7ea771 | |
parent | 5174ce434a74fb24b64b5559836fb508eefeaae5 (diff) | |
download | ampache-3914736c941f9cee4e78d1ee0be61f7216d43cff.tar.gz ampache-3914736c941f9cee4e78d1ee0be61f7216d43cff.tar.bz2 ampache-3914736c941f9cee4e78d1ee0be61f7216d43cff.zip |
fixed show all browse issue with song titles and a silent error on a show_songs call
-rw-r--r-- | browse.php | 2 | ||||
-rwxr-xr-x | docs/CHANGELOG | 1 | ||||
-rw-r--r-- | lib/class/song.class.php | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -138,7 +138,7 @@ switch($action) { if ($view->base_sql) { $songs = $song->get_songs($view->sql); - show_songs($songs); + show_songs($songs,0,0); } break; case 'catalog': diff --git a/docs/CHANGELOG b/docs/CHANGELOG index 6865d4fe..a955ff84 100755 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -4,6 +4,7 @@ -------------------------------------------------------------------------- v.3.3.3-Alpha2 + - Fixed Show All of Song Titles not having any data - Fixed override of local_length to 9000 regardless of config file - Tweaked Remeber Me Checkbox to be disabled if remember_length is <= local_length diff --git a/lib/class/song.class.php b/lib/class/song.class.php index 69a7b9a6..c986daa1 100644 --- a/lib/class/song.class.php +++ b/lib/class/song.class.php @@ -823,6 +823,7 @@ class Song { function get_sql_from_match($match) { switch ($match) { + case 'Show_all': case 'Show_All': case 'show_all': $sql = "SELECT id FROM song"; |