diff options
author | ctrlaltca@gmail.com <> | 2011-11-19 14:53:37 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-11-19 14:53:37 +0000 |
commit | d782ffa2a4f55cb2ef66cf80d000f2bf5c195024 (patch) | |
tree | 9d74acac5ee1b643c29e7bf93464c1aabdbb977c /buildscripts/PhpDocumentor/prado_patch_chm_builder_fix.patch | |
parent | f8a12ab249a6816082deba6d5eae037ee8a2f716 (diff) |
updating phpDocumentor, part 4: patched to fix a bug in CHMdefaultConverter
Diffstat (limited to 'buildscripts/PhpDocumentor/prado_patch_chm_builder_fix.patch')
-rw-r--r-- | buildscripts/PhpDocumentor/prado_patch_chm_builder_fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/buildscripts/PhpDocumentor/prado_patch_chm_builder_fix.patch b/buildscripts/PhpDocumentor/prado_patch_chm_builder_fix.patch new file mode 100644 index 00000000..4889d501 --- /dev/null +++ b/buildscripts/PhpDocumentor/prado_patch_chm_builder_fix.patch @@ -0,0 +1,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) + { |