From cbda7ff555d3a2d95991304cc24045191ffe260c Mon Sep 17 00:00:00 2001 From: flashk Date: Sat, 29 Dec 2007 20:54:20 +0000 Subject: Added ability to export catalog to iTunes database Fixed sql error when creating catalog --- lib/ui.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ui.lib.php') 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\n"; - } elseif (is_numeric($value)) { + } elseif (is_int($value)) { $string .= "\t\t\t$key$value\n"; } elseif ($key == "Date Added") { $string .= "\t\t\t$key$value\n"; -- cgit