X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=BotLoader%2Fsaxdb.class.php;h=a76760a387517a5b7e59b06666eb628ce1d6ecb5;hp=1c431688536b69e118a91806b52052e4b1355466;hb=34baaf63f2b3a7ddc200aa12b1eebcef4fcc4b6a;hpb=80f452a9a7861cdd76fa704de387f696510bb937 diff --git a/BotLoader/saxdb.class.php b/BotLoader/saxdb.class.php index 1c43168..a76760a 100644 --- a/BotLoader/saxdb.class.php +++ b/BotLoader/saxdb.class.php @@ -152,7 +152,10 @@ class saxdb { private function serializeDB($db) { $dbstring = ""; foreach($db as $name => $value) { - if(!is_array($value) && !is_string($value) && !is_numeric($value)) continue; + if(!is_array($value) && !is_string($value) && !is_numeric($value)) { + echo"invalid type ".gettype($value)."\n"; + continue; + } $dbstring .= "\"".str_replace("\"","\\\"", $name)."\""; if(is_array($value)) { $dbstring .= "{";