fix: SwissQr postal code appears twice

This commit is contained in:
Filippo 2022-10-03 22:55:07 +02:00 committed by GitHub
parent cbf247320e
commit bd6bf59f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ class SwissQrGenerator
$this->client->address1 ? substr($this->client->address1, 0 , 70) : '', $this->client->address1 ? substr($this->client->address1, 0 , 70) : '',
$this->client->address2 ? substr($this->client->address2, 0 , 16) : '', $this->client->address2 ? substr($this->client->address2, 0 , 16) : '',
$this->client->postal_code ? substr($this->client->postal_code, 0, 16) : '', $this->client->postal_code ? substr($this->client->postal_code, 0, 16) : '',
$this->client->city ? substr($this->client->postal_code, 0, 35) : '', $this->client->city ? substr($this->client->city, 0, 35) : '',
'CH' 'CH'
)); ));