Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: banning.php 4042 2008-07-25 23:46:54Z Tikitiki $
| * $Id: banning.php 4111 2008-08-13 06:14:12Z Tikitiki $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 245 | Zeile 245 |
---|
$errors[] = $lang->error_invalid_username; } // Is the user we're trying to ban a super admin and we're not?
|
$errors[] = $lang->error_invalid_username; } // Is the user we're trying to ban a super admin and we're not?
|
else if(is_super_admin($user['uid']) && !is_super_admin($user['uid']))
| else if(is_super_admin($user['uid']) && !is_super_admin($mybb->user['uid']))
|
{ $errors[] = $lang->error_no_perm_to_ban; }
| { $errors[] = $lang->error_no_perm_to_ban; }
|