diff --git a/airtime_mvc/application/common/FileDataHelper.php b/airtime_mvc/application/common/FileDataHelper.php index 7048d6503..6ebe610e8 100644 --- a/airtime_mvc/application/common/FileDataHelper.php +++ b/airtime_mvc/application/common/FileDataHelper.php @@ -19,9 +19,9 @@ class FileDataHelper { } if (array_key_exists("bpm", $data)) { //Some BPM tags are silly and include the word "BPM". Let's strip that... - $data["year"] = str_ireplace("BPM", "", $data["year"]); + $data["bpm"] = str_ireplace("BPM", "", $data["bpm"]); // This will convert floats to ints too. - $data["year"] = intval($data["year"]); + $data["bpm"] = intval($data["bpm"]); } }