We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd0e30a + fd2a463 commit db9466eCopy full SHA for db9466e
Classes/Domain/ScheduledExport/ScheduledExportService.php
@@ -67,6 +67,6 @@ public function removeScheduledExportDefinitionIfExists(string $formIdentifier):
67
68
protected function getCurrentBackendUser(): string
69
{
70
- return $this->securityContext->getAccount() instanceof Account ? $this->securityContext->getAccount()->getAccountIdentifier() : 'unknown';
+ return $this->securityContext->canBeInitialized() && $this->securityContext->getAccount() instanceof Account ? $this->securityContext->getAccount()->getAccountIdentifier() : 'unknown';
71
}
72
0 commit comments