1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

Added ability to export catalog to iTunes database

Fixed sql error when creating catalog
This commit is contained in:
flashk 2007-12-29 20:54:20 +00:00
parent b1d25fc28f
commit cbda7ff555
5 changed files with 158 additions and 33 deletions

View file

@ -899,7 +899,7 @@ function xml_from_array($array,$callback=0,$type='') {
else {
if ($key == "key"){
$string .= "\t\t<$key>$value</$key>\n";
} elseif (is_numeric($value)) {
} elseif (is_int($value)) {
$string .= "\t\t\t<key>$key</key><integer>$value</integer>\n";
} elseif ($key == "Date Added") {
$string .= "\t\t\t<key>$key</key><date>$value</date>\n";