fix: undefined var on the statistics page (#211)
This commit is contained in:
parent
d9bd64a6be
commit
8b7a7b94e3
@ -1,3 +1,3 @@
|
||||
<?php
|
||||
$version = "v1.15.1";
|
||||
$version = "v1.15.2";
|
||||
?>
|
||||
@ -310,13 +310,13 @@ $numberOfElements = 6;
|
||||
<span><?= CurrencyFormatter::format($mostExpensiveSubscription['price'], $code) ?></span>
|
||||
<div class="title"><?= translate('most_expensive', $i18n) ?></div>
|
||||
<?php
|
||||
if ($mostExpensiveSubscription['logo']) {
|
||||
if (isset($mostExpensiveSubscription['logo']) && $mostExpensiveSubscription['logo'] != '') {
|
||||
?>
|
||||
<div class="subtitle">
|
||||
<img src="images/uploads/logos/<?= $mostExpensiveSubscription['logo'] ?>" alt="<?= $mostExpensiveSubscription['name'] ?>" title="<?= $mostExpensiveSubscription['name'] ?>" />
|
||||
</div>
|
||||
<?php
|
||||
} else {
|
||||
} else if (isset($mostExpensiveSubscription['name']) && $mostExpensiveSubscription['name'] != ''){
|
||||
?>
|
||||
<div class="subtitle"><?= $mostExpensiveSubscription['name'] ?></div>
|
||||
<?php
|
||||
|
||||
Loading…
Reference in New Issue
Block a user