Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
bessudnov committed Nov 19, 2023
2 parents 016c0c8 + a27c176 commit 9e7765d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AmoCRM/Models/Leads/Pipelines/PipelineModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static function fromArray(array $pipeline): self
$model = new self();

$model->setId($pipeline['id']);
$model->setName($pipeline['name']);
$model->setName((string)($pipeline['name'] ?? ''));
$model->setSort($pipeline['sort']);
$model->setAccountId($pipeline['account_id']);
$model->setIsMain($pipeline['is_main']);
Expand Down

0 comments on commit 9e7765d

Please sign in to comment.