summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/phpDocumentor/common.inc.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-05-25 09:34:54 +0000
committerctrlaltca@gmail.com <>2011-05-25 09:34:54 +0000
commit15be96d7736550fbf097bb4dd3d4c971ef1f5cc1 (patch)
tree0ae9feb919e2303d2d034c08bce057540fe6b689 /buildscripts/PhpDocumentor/phpDocumentor/common.inc.php
parent8aa27c48cd1b620e3a7dee1e2de2cdc67f4e9874 (diff)
backported build script fixes to branch/3.1
Diffstat (limited to 'buildscripts/PhpDocumentor/phpDocumentor/common.inc.php')
-rw-r--r--buildscripts/PhpDocumentor/phpDocumentor/common.inc.php6
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
+?>