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 ebe4526 commit f548d0fCopy full SHA for f548d0f
src/Helper/Helper.php
@@ -153,7 +153,9 @@ public function getWebformIdFromQueue(string $jobId): ?string {
153
$query->condition('job_id', $jobId, '=');
154
$query->fields('o', ['webform_id']);
155
156
- return $query->execute()?->fetchObject()?->webform_id;
+ $result = $query->execute()?->fetchObject();
157
+
158
+ return $result ? $result->webform_id : NULL;
159
}
160
161
/**
0 commit comments