We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Launcher::getResult()
1 parent 65f4e37 commit deb8053Copy full SHA for deb8053
1 file changed
components/ILIAS/UI/src/Implementation/Component/Launcher/Inline.php
@@ -146,11 +146,11 @@ public function withRequest(ServerRequestInterface $request): self
146
147
public function getResult(): ?Result
148
{
149
- try {
150
- return $this->modal?->getForm()?->getInputGroup()?->getContent();
151
- } catch (\Throwable) {
+ if ($this->request === null) {
152
return null;
153
}
+
+ return $this->modal?->getForm()?->getInputGroup()?->getContent();
154
155
156
public function getModal(): ?I\Modal\Roundtrip
0 commit comments