summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/prado_patch_chm_builder_fix.patch
blob: 4889d501eb48f14f3abd94a3a165de5e6f445bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: phpDocumentor/Converters/CHM/default/CHMdefaultConverter.inc
===================================================================
--- phpDocumentor/Converters/CHM/default/CHMdefaultConverter.inc	(revisione 3068)
+++ phpDocumentor/Converters/CHM/default/CHMdefaultConverter.inc	(copia locale)
@@ -560,7 +560,7 @@
      */
     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)
         {