Vergleich admin/modules/user/banning.php - 1.4.0 - 1.4.1

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 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 245Zeile 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;
}