summaryrefslogtreecommitdiffstats
path: root/lib/ui.lib.php
diff options
context:
space:
mode:
authorflashk <flashk@ampache>2007-12-29 20:54:20 +0000
committerflashk <flashk@ampache>2007-12-29 20:54:20 +0000
commitcbda7ff555d3a2d95991304cc24045191ffe260c (patch)
treeb7c0baea036d6fee474a36cd1dbaa096d93493b6 /lib/ui.lib.php
parentb1d25fc28f25691333bff62b38d0e2650fa8ce8b (diff)
downloadampache-cbda7ff555d3a2d95991304cc24045191ffe260c.tar.gz
ampache-cbda7ff555d3a2d95991304cc24045191ffe260c.tar.bz2
ampache-cbda7ff555d3a2d95991304cc24045191ffe260c.zip
Added ability to export catalog to iTunes database
Fixed sql error when creating catalog
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r--lib/ui.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index 8898298c..691e8f7d 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -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";