summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2007-09-20 04:30:17 +0000
committerChristian Fowler <spider@viovio.com>2007-09-20 04:30:17 +0000
commitc2a391e59c23d71a8b70b8b4d17cd6d319738c4f (patch)
treeda6165df2a867b5cf9c686e14c73d379071e3fa7 /edit.php
parent4fc3b17508227c0d1a0991640277bc56f4e27c38 (diff)
downloadwiki-c2a391e59c23d71a8b70b8b4d17cd6d319738c4f.tar.gz
wiki-c2a391e59c23d71a8b70b8b4d17cd6d319738c4f.tar.bz2
wiki-c2a391e59c23d71a8b70b8b4d17cd6d319738c4f.zip
invokeServices( 'content_edit_function' )
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/edit.php b/edit.php
index 4f00264..e9efa82 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.42 2007/09/15 18:07:53 wjames5 Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.43 2007/09/20 04:30:17 spiderr 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: edit.php,v 1.42 2007/09/15 18:07:53 wjames5 Exp $
+ * $Id: edit.php,v 1.43 2007/09/20 04:30:17 spiderr Exp $
* @package wiki
* @subpackage functions
*/
@@ -430,10 +430,10 @@ if( isset( $_REQUEST["preview"] ) ) {
( !empty( $_REQUEST['format_guid'] ) ? $_REQUEST['format_guid'] : ( isset( $gContent->mInfo['format_guid'] ) ? $gContent->mInfo['format_guid'] : 'tikiwiki' ))
);
$gContent->invokeServices( 'content_preview_function' );
-} else {
- $gContent->invokeServices( 'content_edit_function' );
}
+$gContent->invokeServices( 'content_edit_function' );
+
if( $gContent->isInStructure() ) {
$gBitSmarty->assign( 'showstructs', $gContent->getStructures() );
}