diff --git a/_sakura/sakura.php b/_sakura/sakura.php index 294e83c..10487a5 100755 --- a/_sakura/sakura.php +++ b/_sakura/sakura.php @@ -103,7 +103,7 @@ $templateName = defined('SAKURA_MANAGE') ? Config::getConfig('manage_style') : ( - $currentUser->optionFields()['useMisaki'] ? + isset($currentUser->optionFields()['useMisaki']) && $currentUser->optionFields()['useMisaki'] ? 'misaki' : Config::getConfig('site_style') ); @@ -201,7 +201,7 @@ if (!defined('SAKURA_NO_TPL')) { 'reason' => $ban['reason'], 'issued' => $ban['issued'], 'expires' => $ban['expires'], - 'issuer' => Users::getUser($ban['issuer']), + 'issuer' => (new User($ban['issuer'])), ], ]); diff --git a/_sakura/templates/yuuno/main/banned.tpl b/_sakura/templates/yuuno/main/banned.tpl index 7e63715..4d1b231 100755 --- a/_sakura/templates/yuuno/main/banned.tpl +++ b/_sakura/templates/yuuno/main/banned.tpl @@ -6,7 +6,7 @@
-

You are banned!

+

You got dunked on!

{% if ban.reason %}

The following reason was supplied:

@@ -27,4 +27,5 @@

+ {% endblock %}