diff --git a/system/pages/changelog.php b/system/pages/changelog.php index 362cc6fe..04620f81 100644 --- a/system/pages/changelog.php +++ b/system/pages/changelog.php @@ -61,7 +61,7 @@ else } ?> - 0) echo ''; diff --git a/system/pages/guilds/delete_invite.php b/system/pages/guilds/delete_invite.php index 974d835b..df2d8bcb 100644 --- a/system/pages/guilds/delete_invite.php +++ b/system/pages/guilds/delete_invite.php @@ -61,6 +61,9 @@ if(empty($errors)) } } } + + if(!$guild_vice) + $errors[] = 'You are not a leader or vice leader of guild ' . $guild_name . '.'; } if(empty($errors)) { @@ -69,8 +72,6 @@ if(empty($errors)) if(!$player->isLoaded()) $errors[] = 'Player with name ' . $name . ' doesn\'t exist.'; } -if(!$guild_vice) - $errors[] = 'You are not a leader or vice leader of guild ' . $guild_name . '.'; if(empty($errors)) { diff --git a/system/templates/guilds.change_description.html.twig b/system/templates/guilds.change_description.html.twig index b38b875a..4740de48 100644 --- a/system/templates/guilds.change_description.html.twig +++ b/system/templates/guilds.change_description.html.twig @@ -6,7 +6,7 @@ Here you can change description of your guild.
(max. {{ config.guild_description_lines_limit }} lines, max. {{ config.guild_description_chars_limit }} chars)

-
+ {{ include('buttons.back.html.twig') }}
\ No newline at end of file
Previous Page