do not print non scalar values

This commit is contained in:
Sebastian Mendel
2007-10-16 08:47:47 +00:00
parent 1c47906d0a
commit d6a1af00cb

View File

@@ -336,8 +336,10 @@ class PMA_Error extends PMA_Message
if (in_array($function, $include_functions)) { if (in_array($function, $include_functions)) {
echo PMA_Error::relPath($arg); echo PMA_Error::relPath($arg);
} else { } elseif (is_scalar($arg)) {
echo gettype($arg) . ' ' . $arg; echo gettype($arg) . ' ' . $arg;
} else {
echo gettype($arg);
} }
} }