We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3fd94d commit 948580fCopy full SHA for 948580f
src/Service/Action/Committer.php
@@ -38,8 +38,12 @@ public function __construct(
38
) {
39
}
40
41
- public function commit(int $actionId, string $config, UserContext $context): void
+ public function commit(int $actionId, ?string $config, UserContext $context): void
42
{
43
+ if (empty($config)) {
44
+ return;
45
+ }
46
+
47
$previousHash = $this->actionCommitTable->findPreviousHash($actionId);
48
49
$now = LocalDateTime::now();
0 commit comments