Quests/Fixup
* fix showing "Gains:" header on detail page if there is nothing to be gained
This commit is contained in:
parent
edfe800348
commit
c93417301a
2 changed files with 5 additions and 2 deletions
|
|
@ -1216,7 +1216,10 @@ class QuestBaseResponse extends TemplateResponse implements ICache
|
|||
$gains[5] = $this->subject->getField('rewardArenaPoints');
|
||||
|
||||
// honor points
|
||||
$gains[4] = [$this->subject->getField('rewardHonorPoints'), $side];
|
||||
if ($_ = $this->subject->getField('rewardHonorPoints'))
|
||||
$gains[4] = [$_, $side];
|
||||
else
|
||||
$gains[4] = null;
|
||||
|
||||
// talent points
|
||||
$gains[3] = $this->subject->getField('rewardTalents');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue