add icon and date for wrongly solved Stations (fixes #131)

This commit is contained in:
oliver 2016-02-02 09:31:56 +01:00
commit 129fe23256
2 changed files with 17 additions and 3 deletions

View file

@ -169,12 +169,19 @@
{
$groups = $this->Charactergroups->getGroupsForQueststation($station['id']);
foreach($groups as &$group) {
$group['solved'] = $this->Charactergroupsqueststations->hasCharactergroupSolvedStation(
$group['tried'] = $this->Charactergroupsqueststations->hasCharactergroupTriedStation(
$station['id'],
$group['id']
);
if($group['tried']) {
$group['solved'] = $this->Charactergroupsqueststations->hasCharactergroupSolvedStation(
$station['id'],
$group['id']
);
}
}
}
print_r($groups);
// Task
$task = null;