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:
parent
b1d25fc28f
commit
cbda7ff555
5 changed files with 158 additions and 33 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue