Skip to content

Commit

Permalink
Merge pull request #756 from smgallo/fix-array-merge-errors
Browse files Browse the repository at this point in the history
Explicitly cast potentiall nulls to array for array_merge()
  • Loading branch information
smgallo authored Dec 20, 2018
2 parents 0febec4 + b0dad0b commit 88f14af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/ETL/EtlOverseer.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ public function verifyActions(
// Verify that specified resource codes are valid

$codeList = array_merge(
$action->getOptions()->include_only_resource_codes,
$action->getOptions()->exclude_resource_codes
(array) $action->getOptions()->include_only_resource_codes,
(array) $action->getOptions()->exclude_resource_codes
);
$this->verifyResourceCodes($codeList);
}
Expand Down

0 comments on commit 88f14af

Please sign in to comment.