diff options
Diffstat (limited to 'edit_xref_type.php')
| -rwxr-xr-x[-rw-r--r--] | edit_xref_type.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/edit_xref_type.php b/edit_xref_type.php index 88a0b08..370e9dc 100644..100755 --- a/edit_xref_type.php +++ b/edit_xref_type.php @@ -8,15 +8,16 @@ /** * Initialization */ -require_once( '../kernel/setup_inc.php' ); +use Bitweaver\Contact\Contact; + +require_once '../kernel/includes/setup_inc.php'; $gBitSystem->verifyPackage( 'contact' ); $gBitSystem->verifyPermission( 'p_contact_update' ); -include_once( CONTACT_PKG_PATH.'Contact.php' ); $gContent = new Contact(); -$gBitSmarty->assignByRef( 'xref_type_info', $gContent->mInfo); +$gBitSmarty->assign( 'xref_type_info', $gContent->mInfo); if( isset( $_REQUEST["fSubmitSaveXrefType"] ) ) { $gContent->storeXrefType( $_REQUEST ); @@ -27,4 +28,3 @@ if( isset( $_REQUEST["fSubmitSaveXrefType"] ) ) { } $gBitSystem->display( 'bitpackage:contact/edit_xref_type.tpl' , NULL, array( 'display_mode' => 'edit' )); -?>
\ No newline at end of file |
