summaryrefslogtreecommitdiffstats
path: root/song.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-23 16:12:21 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-23 16:12:21 +0000
commit793d3d0bf19a8007e54f8440a5412e2b6709f5b3 (patch)
tree21f3984b570de846640476dfe2e8e199073f9465 /song.php
parent647bb30850fabd87b7503d52a1e849317f648969 (diff)
downloadampache-793d3d0bf19a8007e54f8440a5412e2b6709f5b3.tar.gz
ampache-793d3d0bf19a8007e54f8440a5412e2b6709f5b3.tar.bz2
ampache-793d3d0bf19a8007e54f8440a5412e2b6709f5b3.zip
add spanish translation
Diffstat (limited to 'song.php')
-rw-r--r--song.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/song.php b/song.php
index 311da3ea..88dc31d7 100644
--- a/song.php
+++ b/song.php
@@ -81,10 +81,11 @@ elseif ( $_REQUEST['artist'] ) {
returns random songs based upong that
*/
elseif ( $_REQUEST['random'] ) {
- if($_REQUEST['genre'][0] != -1) {
+
+ if($_REQUEST['genre'][0] != '-1') {
$matchlist['genre'] = $_REQUEST['genre'];
}
- if($_REQUEST['catalog'] != -1) {
+ if($_REQUEST['catalog'] != '-1') {
$matchlist['catalog'] = $_REQUEST['catalog'];
}