From 6d02d935df4b8c6525a00670d54f37a9de0a87e0 Mon Sep 17 00:00:00 2001 From: rojaro <> Date: Sat, 3 Oct 2009 00:11:50 +0000 Subject: php 5.3 compatibility fixes --- buildscripts/PhpDocumentor/phpDocumentor/common.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'buildscripts/PhpDocumentor/phpDocumentor/common.inc.php') diff --git a/buildscripts/PhpDocumentor/phpDocumentor/common.inc.php b/buildscripts/PhpDocumentor/phpDocumentor/common.inc.php index 787afd67..f86ed5da 100644 --- a/buildscripts/PhpDocumentor/phpDocumentor/common.inc.php +++ b/buildscripts/PhpDocumentor/phpDocumentor/common.inc.php @@ -238,7 +238,9 @@ function fancy_debug($s,$v) */ function phpDocumentor_get_class($object) { - return strtolower(get_class($object)); + if(is_object($object)) + return strtolower(get_class($object)); + return false; } -?> \ No newline at end of file +?> -- cgit v1.2.3