Misc bugfixes.
[rock.divinelegy.git] / Services / SimfileParser.php
index b5c0c64..b2438d0 100644 (file)
@@ -67,6 +67,7 @@ class SimfileParser implements ISimfileParser
         if($displayBpm)
         {
             $bpmRange = explode(":",$displayBpm);
+            $bpmRange[1] = @$bpmRange[1] ?: $bpmRange[0];
         } else {
             $bpms = $this->extractKey('BPMS');
             $bpmRange = $this->parseBpms($bpms);