diff options
| author | spiderr <spider@viovio.com> | 2011-07-09 09:55:38 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2011-07-09 09:55:38 -0400 |
| commit | b1f2067ec8ccd54225a53ff6fa57525837aeed2a (patch) | |
| tree | ec4affbdbfcdd8b7a225ee6bd21b18ff9f1d1245 | |
| parent | fc5097a7dfdcae62da8eeb5f3d0e3488bc322266 (diff) | |
| download | wiki-b1f2067ec8ccd54225a53ff6fa57525837aeed2a.tar.gz wiki-b1f2067ec8ccd54225a53ff6fa57525837aeed2a.tar.bz2 wiki-b1f2067ec8ccd54225a53ff6fa57525837aeed2a.zip | |
use getField instead of mInfo directly to avoid NOTICE
| -rw-r--r-- | display_bitpage_inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/display_bitpage_inc.php b/display_bitpage_inc.php index 4d4c20e..05b2a62 100644 --- a/display_bitpage_inc.php +++ b/display_bitpage_inc.php @@ -73,7 +73,7 @@ if( $gBitSystem->isFeatureActive( 'wiki_uses_slides' )) { } // ...page... stuff - TODO: this is cumbersome and should be cleaned up -$pages = $gContent->countSubPages( $gContent->mInfo['parsed_data'] ); +$pages = $gContent->countSubPages( $gContent->getField( 'parsed_data' ) ); if( $pages > 1 ) { if( !isset( $_REQUEST['pagenum'] )) { $_REQUEST['pagenum'] = 1; |
