diff options
Diffstat (limited to 'buildscripts/PhpDocumentor/phpDocumentor/common.inc.php')
-rw-r--r-- | buildscripts/PhpDocumentor/phpDocumentor/common.inc.php | 6 |
1 files changed, 4 insertions, 2 deletions
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 +?>
|