Skip to content

Commit a10021f

Browse files
committed
changed setAttributes
1 parent ac19086 commit a10021f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Atomx/Resources/Creative.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public function setCategory($category)
5050

5151
public function setAttributes($attributes)
5252
{
53+
$attributes = ($attributes) ? $attributes : [];
5354
$this->attributes = $attributes;
5455
}
5556

0 commit comments

Comments
 (0)