diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-15 16:38:09 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-15 16:38:09 +0100 |
| commit | bc9b9df93192b0c3bc62bf701864b97681c38977 (patch) | |
| tree | bfcc963e60873d9e731492a746c64d50b6e9be0f /list1.php | |
| parent | 72119ef864e1a5ffa377a504dc2ef430d7e6cd4a (diff) | |
| download | contact-bc9b9df93192b0c3bc62bf701864b97681c38977.tar.gz contact-bc9b9df93192b0c3bc62bf701864b97681c38977.tar.bz2 contact-bc9b9df93192b0c3bc62bf701864b97681c38977.zip | |
Namespace fixes
Diffstat (limited to 'list1.php')
| -rwxr-xr-x | list1.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,6 +16,7 @@ require_once '../kernel/includes/setup_inc.php'; use Bitweaver\Contact\Contact; +use Bitweaver\KernelTools; $gBitSystem->verifyPackage( 'contact' ); $gBitSystem->verifyPermission( 'p_contact_view' ); @@ -43,7 +44,7 @@ if( $gBitUser->hasPermission("p_contact_view_changes") && $_SESSION['contact'][' $listcontacts = $gContent->getList( $listHash ); if ( $listHash['listInfo']['count'] == 1 ){ - bit_redirect( CONTACT_PKG_URL."display_contact.php?content_id=".$listcontacts[0]['content_id'] ); + KernelTools::bit_redirect( CONTACT_PKG_URL."display_contact.php?content_id=".$listcontacts[0]['content_id'] ); } $gBitSmarty->assign( 'listcontacts', $listcontacts ); |
