summaryrefslogtreecommitdiff
path: root/edit_book.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2016-02-07 17:44:38 +0000
committerlsces <lester@lsces.co.uk>2016-02-07 17:44:38 +0000
commit48d38bcee6e51e54102c85cabb2f5b94a819a03c (patch)
tree3ad8d7370c6a0ffc301b407f56270e1bb0b4c89f /edit_book.php
parent5f2e82a1fb1803fcc79fd31bd0f318f3661d639c (diff)
downloadwiki-48d38bcee6e51e54102c85cabb2f5b94a819a03c.tar.gz
wiki-48d38bcee6e51e54102c85cabb2f5b94a819a03c.tar.bz2
wiki-48d38bcee6e51e54102c85cabb2f5b94a819a03c.zip
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'edit_book.php')
-rw-r--r--edit_book.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit_book.php b/edit_book.php
index 44b197b..3257ca0 100644
--- a/edit_book.php
+++ b/edit_book.php
@@ -127,7 +127,7 @@ if( isset($_REQUEST["createstructure"]) ) {
}
header( "location: ".WIKI_PKG_URL."edit_book.php?structure_id=".$structure_id );
} else {
- $gBitSmarty->assign_by_ref( 'errors', $gContent->mErrors );
+ $gBitSmarty->assignByRef( 'errors', $gContent->mErrors );
$gBitSmarty->assign( 'name', $_REQUEST['name']);
$gBitSmarty->assign( 'chapters', $_REQUEST['chapters']);
$mid = 'bitpackage:wiki/create_book.tpl';