diff options
| author | lsces <lester@lsces.co.uk> | 2016-02-07 17:00:54 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2016-02-07 17:00:54 +0000 |
| commit | 7392e0514a1fc729b6666cf7089285c6824b2126 (patch) | |
| tree | a4c0c7c0d2015959df9aa01065e4cd87b029cf76 /admin | |
| parent | a3272bbcd1e120ac890435a44fe19d3951b386b7 (diff) | |
| download | contact-7392e0514a1fc729b6666cf7089285c6824b2126.tar.gz contact-7392e0514a1fc729b6666cf7089285c6824b2126.tar.bz2 contact-7392e0514a1fc729b6666cf7089285c6824b2126.zip | |
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin_contact_type.php | 2 | ||||
| -rw-r--r-- | admin/admin_xref_types.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/admin/admin_contact_type.php b/admin/admin_contact_type.php index 511af13..0cda304 100644 --- a/admin/admin_contact_type.php +++ b/admin/admin_contact_type.php @@ -11,7 +11,7 @@ $gBitSystem->verifyPermission( 'p_contact_admin' ); if( isset( $_REQUEST["fSubmitAddContactType"] ) ) { $gContent->storeTopic( $_REQUEST ); if ( !empty( $gContent->mErrors ) ) { - $gBitSmarty->assign_by_ref('errors', $gContent->mErrors ); + $gBitSmarty->assignByRef('errors', $gContent->mErrors ); } } elseif( !empty( $_REQUEST['fActivateTopic'] )&& $gContent ) { $gContent->activateTopic(); diff --git a/admin/admin_xref_types.php b/admin/admin_xref_types.php index 7485366..491a037 100644 --- a/admin/admin_xref_types.php +++ b/admin/admin_xref_types.php @@ -13,7 +13,7 @@ $gBitSystem->verifyPermission( 'p_contact_admin' ); if( isset( $_REQUEST["fSubmitAddXrefType"] ) ) { $gContent->storeXrefType( $_REQUEST ); if ( !empty( $gContent->mErrors ) ) { - $gBitSmarty->assign_by_ref('errors', $gContent->mErrors ); + $gBitSmarty->assignByRef('errors', $gContent->mErrors ); } } elseif( !empty( $_REQUEST['fActivateXrefType'] )&& $gContent ) { $gContent->activateXrefType(); |
