add icon and date for wrongly solved Stations (fixes #131)
This commit is contained in:
parent
a0050b37b0
commit
129fe23256
2 changed files with 17 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue