Skip to content

Commit 0b0d4f9

Browse files
authored
Merge pull request #2 from ibuildingsnl/feature/main1
Push experimental fix for `Field 'fixVersions' cannot be set. It is n…
2 parents 257821a + 3e1e925 commit 0b0d4f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Issue/IssueField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function __construct($updateIssue = false)
114114
public function jsonSerialize(): mixed
115115
{
116116
$vars = array_filter(get_object_vars($this), function ($var) {
117-
return !is_null($var);
117+
return !empty($var);
118118
});
119119

120120
// if assignee property has empty value then remove it.

0 commit comments

Comments
 (0)