summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-30 19:57:35 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-30 19:57:35 +0000
commit05a1cfe34904997715dd145af81d6d2170e120df (patch)
treeea427460f8149f5c368150237008e02127796c31
parent9dc66c6949d9b1ad8e0a7ea2da3941696f9aeb92 (diff)
downloadampache-05a1cfe34904997715dd145af81d6d2170e120df.tar.gz
ampache-05a1cfe34904997715dd145af81d6d2170e120df.tar.bz2
ampache-05a1cfe34904997715dd145af81d6d2170e120df.zip
whos the idiot now I ask you
-rw-r--r--lib/class/song.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php
index ff588eef..ff47fee8 100644
--- a/lib/class/song.class.php
+++ b/lib/class/song.class.php
@@ -123,7 +123,7 @@ class Song {
preg_match('/\.([A-Za-z0-9]+)$/', $this->file,$results);
- $this->type = strtolower(results[1]);
+ $this->type = strtolower($results['1']);
switch ($this->type) {
case "spx":