Browse Source

headphones break fix

causefx 8 years ago
parent
commit
b60de2925e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      functions.php

+ 2 - 2
functions.php

@@ -2923,8 +2923,8 @@ function getHeadphonesCalendar($url, $key, $list){
 			}
 			}
 			if($child['Status'] == "Processed" && $list == "getHistory"){
 			if($child['Status'] == "Processed" && $list == "getHistory"){
 				$i++;
 				$i++;
-				$find = array('_','[', ']');
-				$replace = array(' ','(', ')');
+				$find = array('_','[', ']', '\n');
+				$replace = array(' ','(', ')', ' ');
 				$albumName = addslashes(str_replace($find,$replace,$child['Title']));
 				$albumName = addslashes(str_replace($find,$replace,$child['Title']));
 				//$albumName = addslashes($child['Title']);
 				//$albumName = addslashes($child['Title']);
 				$albumDate = $child['DateAdded'];
 				$albumDate = $child['DateAdded'];