diff options
| author | rojaro <> | 2009-10-03 00:11:50 +0000 | 
|---|---|---|
| committer | rojaro <> | 2009-10-03 00:11:50 +0000 | 
| commit | 6d02d935df4b8c6525a00670d54f37a9de0a87e0 (patch) | |
| tree | c5fdc48fc01e267d1d7b24c29424780c25f309d5 /buildscripts/PhpDocumentor/phpDocumentor/common.inc.php | |
| parent | 840718fadba6645f5eb8fe038eecd084d715a581 (diff) | |
php 5.3 compatibility fixes
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 +?>
 | 
