summaryrefslogtreecommitdiff
path: root/edition_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'edition_edit.php')
-rw-r--r--edition_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/edition_edit.php b/edition_edit.php
index 39d7647..4a43c9b 100644
--- a/edition_edit.php
+++ b/edition_edit.php
@@ -62,7 +62,7 @@ if (isset($_REQUEST["preview"])) {
$parsed = $gContent->parseData( $formInfo['data'],( !empty( $_REQUEST['format_guid'] ) ? $_REQUEST['format_guid'] :
( isset( $gContent->mInfo['format_guid'] ) ? $gContent->mInfo['format_guid'] : 'tikiwiki' ) ) );
- $gBitSmarty->assign_by_ref( 'parsed', $parsed );
+ $gBitSmarty->assignByRef( 'parsed', $parsed );
$gContent->invokeServices( 'content_preview_function' );
} elseif (isset($_REQUEST["save"])) {
@@ -90,7 +90,7 @@ if( empty( $formInfo ) ) {
$formInfo = &$gContent->mInfo;
}
-$gBitSmarty->assign_by_ref( 'pageInfo', $formInfo );
+$gBitSmarty->assignByRef( 'pageInfo', $formInfo );
$gBitSmarty->assign( 'errors', $gContent->mErrors );
// Display the template