diff --git a/controllers/CharactergroupsquestsController.inc b/controllers/CharactergroupsquestsController.inc index 422cb80e..2dbbe50e 100644 --- a/controllers/CharactergroupsquestsController.inc +++ b/controllers/CharactergroupsquestsController.inc @@ -103,10 +103,18 @@ $station['id'], $charactergroup['id'] ); - $station['solved'] = $this->Charactergroupsqueststations->hasCharactergroupSolvedStation( - $station['id'], - $charactergroup['id'] - ); + if($station['entered']) { + $station['tried'] = $this->Charactergroupsqueststations->hasCharactergroupTriedStation( + $station['id'], + $charactergroup['id'] + ); + if($station['tried']) { + $station['solved'] = $this->Charactergroupsqueststations->hasCharactergroupSolvedStation( + $station['id'], + $charactergroup['id'] + ); + } + } } } diff --git a/controllers/CharactergroupsqueststationsController.inc b/controllers/CharactergroupsqueststationsController.inc index db71f747..36834008 100644 --- a/controllers/CharactergroupsqueststationsController.inc +++ b/controllers/CharactergroupsqueststationsController.inc @@ -194,9 +194,9 @@ $solved = false; $tried = false; if(!is_null($charactergroup)) { - $solved = $this->Charactergroupsqueststations->hasCharactergroupSolvedStation($station['id'], $charactergroup['id']); - if(!$solved) { - $tried = $this->Charactergroupsqueststations->hasCharactergroupTriedStation($station['id'], $charactergroup['id']); + $tried = $this->Charactergroupsqueststations->hasCharactergroupTriedStation($station['id'], $charactergroup['id']); + if($tried) { + $solved = $this->Charactergroupsqueststations->hasCharactergroupSolvedStation($station['id'], $charactergroup['id']); } } diff --git a/views/html/charactergroupsquests/quest.tpl b/views/html/charactergroupsquests/quest.tpl index be47e89f..f93a89f0 100644 --- a/views/html/charactergroupsquests/quest.tpl +++ b/views/html/charactergroupsquests/quest.tpl @@ -88,9 +88,17 @@ =_('Station not yet discovered')?> - + + + + + + + + + @@ -100,10 +108,18 @@