diff options
| author | lsces <lester@lsces.co.uk> | 2016-02-07 21:38:59 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2016-02-07 21:38:59 +0000 |
| commit | 2d7dc539a3bde6d3eab6e6c9822c1821cbd5e32c (patch) | |
| tree | 1d56a516b2eb6ba6e1f2d2c9ed9f89eb44237840 /edition_edit.php | |
| parent | 4dad4adf910a1dd95b6db102978803b968b55e51 (diff) | |
| download | newsletters-2d7dc539a3bde6d3eab6e6c9822c1821cbd5e32c.tar.gz newsletters-2d7dc539a3bde6d3eab6e6c9822c1821cbd5e32c.tar.bz2 newsletters-2d7dc539a3bde6d3eab6e6c9822c1821cbd5e32c.zip | |
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'edition_edit.php')
| -rw-r--r-- | edition_edit.php | 4 |
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 |
