Skip to content

Commit

Permalink
[Bugfix] Fixed a bug with energy scala not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
zoglo committed Nov 10, 2022
1 parent edd4290 commit 2366dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/classes/Energy.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function getEnergiepassValue($realEstate): string
{
$strValue = '';

if (isset($realEstate->energiepassEpart))
if (null !== $realEstate->energiepassEpart)
{
switch (strtolower($realEstate->energiepassEpart))
{
Expand Down

0 comments on commit 2366dc6

Please sign in to comment.