From d782ffa2a4f55cb2ef66cf80d000f2bf5c195024 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 19 Nov 2011 14:53:37 +0000 Subject: updating phpDocumentor, part 4: patched to fix a bug in CHMdefaultConverter --- .../phpDocumentor/Converters/CHM/default/CHMdefaultConverter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildscripts/PhpDocumentor/phpDocumentor') diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/CHMdefaultConverter.inc b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/CHMdefaultConverter.inc index b9679a27..e5ad8172 100755 --- a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/CHMdefaultConverter.inc +++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/CHMdefaultConverter.inc @@ -560,7 +560,7 @@ class CHMdefaultConverter extends Converter */ function returnSee(&$element, $eltext = false, $with_a = true) { - if (!$element) return false; + if (!is_object($element) || !$element) return false; if (!$with_a) return $this->getId($element, false); if (!$eltext) { -- cgit v1.2.3