diff --git a/classes/Tools.php b/classes/Tools.php index 8ec0b5ac0..636280a40 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -730,11 +730,16 @@ class ToolsCore * * @param object $object Object to display */ - public static function fd($object) + public static function fd($object, $type = 'log') { + $types = array('log', 'debug', 'info', 'warn', 'error', 'assert'); + + if(!in_array($type, $types)) + $type = 'log'; + echo ' '; }