Skip to content

Commit

Permalink
Id Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Pollastri committed Jan 26, 2024
1 parent 5b71356 commit c2ffb52
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 c2ffb52

Please sign in to comment.