fix status for Stationtype ?multiple choice?
This commit is contained in:
parent
e4b7980500
commit
0cfdaf8f49
1 changed files with 7 additions and 4 deletions
|
@ -112,10 +112,13 @@
|
|||
}
|
||||
|
||||
// Get status
|
||||
$tried = $this->Charactergroupsqueststations->hasCharactergroupTriedStation(
|
||||
$station['id'],
|
||||
$charactergroup['id']
|
||||
);
|
||||
$tried = false;
|
||||
if(!is_null($charactergroup)) {
|
||||
$tried = $this->Charactergroupsqueststations->hasCharactergroupTriedStation(
|
||||
$station['id'],
|
||||
$charactergroup['id']
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
// Pass data to view
|
||||
|
|
Loading…
Reference in a new issue