X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=BotLoader%2Fsaxdb.class.php;h=f4d0e559a3cf71f57ab69b1e245b442d35e78827;hp=1c431688536b69e118a91806b52052e4b1355466;hb=811bc0c7a1f583fb624a0f8c3601146e063c5a25;hpb=0f30e96ae37491aee19e72b89cc54a6798d1f254 diff --git a/BotLoader/saxdb.class.php b/BotLoader/saxdb.class.php index 1c43168..f4d0e55 100644 --- a/BotLoader/saxdb.class.php +++ b/BotLoader/saxdb.class.php @@ -1,6 +1,6 @@ $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 .= "{";