X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=BotLoader%2Fsaxdb.class.php;h=f4d0e559a3cf71f57ab69b1e245b442d35e78827;hp=e3e5413dd634fa114c483492fe216f2aea2502b2;hb=811bc0c7a1f583fb624a0f8c3601146e063c5a25;hpb=316aa700bd3e2e0019b8e3f10b543b49b0f77f02 diff --git a/BotLoader/saxdb.class.php b/BotLoader/saxdb.class.php index e3e5413..f4d0e55 100644 --- a/BotLoader/saxdb.class.php +++ b/BotLoader/saxdb.class.php @@ -1,22 +1,19 @@ . * * * ************************************************************************ * @@ -155,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 .= "{";