From f8808045952b8e8db52f8fe268c0c7e7e4228216 Mon Sep 17 00:00:00 2001 From: lsces Date: Tue, 21 Oct 2014 23:17:39 +0100 Subject: Sync role model with group model --- my_roles.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'my_roles.php') diff --git a/my_roles.php b/my_roles.php index 38f5c35..770dea5 100644 --- a/my_roles.php +++ b/my_roles.php @@ -22,12 +22,11 @@ global $gBitUser, $gBitSystem; // PERMISSIONS: registered user required if ( !$gBitUser->isRegistered() ) { - $gBitSystem->fatalError( tra( "You are not logged in." )); + $gBitSystem->fatalError( tra( "You are not logged in." )); } if( !empty( $_REQUEST["cancel"] ) ) { - header( 'Location: '.USERS_PKG_URL.'my_roles.php' ); - die; + bit_redirect( USERS_PKG_URL.'my_roles.php' ); } if ( $gBitUser->hasPermission('p_users_create_personal_roles' ) ) { -- cgit v1.3