summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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":