Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Commit 2366dc6

Browse files
committed
[Bugfix] Fixed a bug with energy scala not showing
1 parent edd4290 commit 2366dc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/contao/classes/Energy.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function getEnergiepassValue($realEstate): string
121121
{
122122
$strValue = '';
123123

124-
if (isset($realEstate->energiepassEpart))
124+
if (null !== $realEstate->energiepassEpart)
125125
{
126126
switch (strtolower($realEstate->energiepassEpart))
127127
{

0 commit comments

Comments
 (0)