diff options
| author | bitweaver.org <bitweaver@users.sourceforge.net> | 2007-02-13 18:53:25 +0000 |
|---|---|---|
| committer | bitweaver.org <bitweaver@users.sourceforge.net> | 2007-02-13 18:53:25 +0000 |
| commit | fbc6ba801f53e26ed928e4e020512b118bd282b5 (patch) | |
| tree | 8b158d12ccc45965d67c61cb4144950fb95e29e7 /plugins/format.tikiwiki.php | |
| parent | 818eca4adcef576f131aabfe2dde06501b1fab37 (diff) | |
| download | liberty-fbc6ba801f53e26ed928e4e020512b118bd282b5.tar.gz liberty-fbc6ba801f53e26ed928e4e020512b118bd282b5.tar.bz2 liberty-fbc6ba801f53e26ed928e4e020512b118bd282b5.zip | |
check for null pCommonObject on cache_links call
Diffstat (limited to 'plugins/format.tikiwiki.php')
| -rw-r--r-- | plugins/format.tikiwiki.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/format.tikiwiki.php b/plugins/format.tikiwiki.php index d4f5e23..cd9a5e0 100644 --- a/plugins/format.tikiwiki.php +++ b/plugins/format.tikiwiki.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.86 $ + * @version $Revision: 1.87 $ * @package liberty */ global $gLibertySystem; @@ -673,10 +673,10 @@ class TikiWikiParser extends BitBase { function cache_links($links, &$pCommonObject ) { global $gBitSystem; - if( $gBitSystem->isFeatureActive( 'liberty_cache_pages' ) ) { + if( $gBitSystem->isFeatureActive( 'liberty_cache_pages' ) && $pCommonObject ) { foreach ($links as $link) { if( !$pCommonObject->isCached( $link ) ) { - $pCommonObject->cacheUrl($link); +// $pCommonObject->cacheUrl($link); } } } |
