Explorar el Código

headphones break fix

causefx hace 8 años
padre
commit
b60de2925e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      functions.php

+ 2 - 2
functions.php

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