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

Fix for when vcs comment is empty
This commit is contained in:
Luke B. Silver
2026-03-10 08:51:14 +00:00
committed by GitHub
+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;
}