Skip to content

Commit 3e1e925

Browse files
committed
Push experimental fix for Field 'fixVersions' cannot be set. It is not on the appropriate screen, or unknown
lesstif#548
1 parent a6a96c0 commit 3e1e925

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)