X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=BotLoader%2Fsaxdb.class.php;h=a76760a387517a5b7e59b06666eb628ce1d6ecb5;hb=56db0f2b9479259c23ef03661d10ab8b18c5ea41;hp=1c431688536b69e118a91806b52052e4b1355466;hpb=0f30e96ae37491aee19e72b89cc54a6798d1f254;p=PHP-P10.git 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 .= "{";