Skip to content

Commit

Permalink
Merge pull request #8 from axiostudio/develop
Browse files Browse the repository at this point in the history
Id Fix
  • Loading branch information
AP - Axio Studio committed Jan 26, 2024
2 parents 407c922 + c2ffb52 commit a549787
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Models/Id.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ class Id extends Model

public function __construct(...$args)
{
$this->IdCodice = Settings::CodiceDestinatarioDefault();

if (isset($args[0]) && $args[0]) {
$this->IdCodice = $args[0];
}

$this->IdCodice = $args[0];
$this->IdPaese = (isset($args[1]) && $args[1]) ? $args[1] : Settings::IdPaeseDefault();
}

Expand Down

0 comments on commit a549787

Please sign in to comment.