mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Added some code to keep the admin from deleteing the forums default style
git-svn-id: file:///svn/phpbb/trunk@1284 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -669,6 +669,11 @@ switch($mode)
|
||||
|
||||
if(!$confirm)
|
||||
{
|
||||
if($style_id == $board_config['default_style'])
|
||||
{
|
||||
message_die(GENERAL_MESSAGE, $lang['Cannot_remove_style'], $lang['Error']);
|
||||
}
|
||||
|
||||
$hidden_fields = '<input type="hidden" name="mode" value="'.$mode.'" /><input type="hidden" name="style_id" value="'.$style_id.'" />';
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user