Merge pull request #11490 from appwrite/fix-empty-comment

Fix for when vcs comment is empty
This commit is contained in:
Luke B. Silver authored and GitHub committed 2026-03-10 08:51:14 +00:00
commit f23411f549
1 file changed
+1 -1
+1 -1
View File
@@ -251,7 +251,7 @@ class Comment
$json = \base64_decode($state);
$builds = \json_decode($json, true);
$this->builds = $builds;
$this->builds = \is_array($builds) ? $builds : [];
return $this;
}