diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-01-28 09:25:50 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-01-28 09:25:50 +0000 |
| commit | 7de8dda85ce6ea692521f76acf4cb42d68d00716 (patch) | |
| tree | 3b573064ff0101b803f68fb447abe53cb8f7c751 /display_bitpage_inc.php | |
| parent | 953ad32304d5cbfc0de35c4c12028660ea17d439 (diff) | |
| download | wiki-7de8dda85ce6ea692521f76acf4cb42d68d00716.tar.gz wiki-7de8dda85ce6ea692521f76acf4cb42d68d00716.tar.bz2 wiki-7de8dda85ce6ea692521f76acf4cb42d68d00716.zip | |
fix undefined index $wiki_cache
Diffstat (limited to 'display_bitpage_inc.php')
| -rw-r--r-- | display_bitpage_inc.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/display_bitpage_inc.php b/display_bitpage_inc.php index 77d490d..e09c31e 100644 --- a/display_bitpage_inc.php +++ b/display_bitpage_inc.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/display_bitpage_inc.php,v 1.10 2006/01/28 09:14:09 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/display_bitpage_inc.php,v 1.11 2006/01/28 09:25:50 squareing Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: display_bitpage_inc.php,v 1.10 2006/01/28 09:14:09 squareing Exp $ + * $Id: display_bitpage_inc.php,v 1.11 2006/01/28 09:25:50 squareing Exp $ * @package wiki * @subpackage functions */ @@ -159,6 +159,7 @@ if(isset($_REQUEST['refresh'])) { // if using cache then update the cache // assign_by_ref $gBitSmarty->assign('cached_page','n'); +$wiki_cache=$gBitSystem->getPreference( 'wiki_cache' ); if(isset($gContent->mInfo['wiki_cache']) && $gContent->mInfo['wiki_cache']>0) { $wiki_cache=$gContent->mInfo['wiki_cache']; } |
