From 05a1cfe34904997715dd145af81d6d2170e120df Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Thu, 30 Mar 2006 19:57:35 +0000 Subject: whos the idiot now I ask you --- lib/class/song.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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": -- cgit