diff --git a/controllers/SeminarybarController.inc b/controllers/SeminarybarController.inc index 8b1e18bc..f14a62aa 100644 --- a/controllers/SeminarybarController.inc +++ b/controllers/SeminarybarController.inc @@ -35,12 +35,14 @@ */ public function index() { - if(is_null(SeminaryController::$seminary)) { - return; - } + // Do not render at first + $this->set('render', false); // Get Seminary $seminary = SeminaryController::$seminary; + if(is_null($seminary)) { + return; + } // Get Character $character = SeminaryController::$character; @@ -79,6 +81,8 @@ $this->set('lastQuest', $lastQuest); $this->set('lastAchievement', $lastAchievement); $this->set('characterGroups', $characterGroups); + // Render now + $this->set('render', true); } } diff --git a/views/html/seminarybar/index.tpl b/views/html/seminarybar/index.tpl index ec094e70..b5d9862c 100644 --- a/views/html/seminarybar/index.tpl +++ b/views/html/seminarybar/index.tpl @@ -1,3 +1,4 @@ +

@@ -46,3 +47,4 @@

+