Skip to content
Code-Schnipsel Gruppen Projekte
Commit 04b8125a erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'next-3.x' into 'main'

fix: update company detection in Address.php

See merge request !181
Übergeordnete e234805d e319e9ae
No related branches found
No related tags found
2 Merge Requests!182Update 'next-4.x' with latest changes from 'main',!181fix: update company detection in Address.php
Pipeline #16611 mit Warnungen bestanden mit Phase
in 1 Minute und 11 Sekunden
......@@ -62,6 +62,11 @@ public function getDisplay(array $options = []): string
if ($this->User && $this->User->isCompany()) {
$isCompany = $this->User->isCompany();
} elseif (
!empty($this->getAttribute('isCompany'))
&& !empty($this->getAttribute('company'))
) {
$isCompany = true;
}
if (!empty($this->getAttribute('contactPerson'))) {
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren