We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f59e5fa commit 82986f5Copy full SHA for 82986f5
lib/PowerIdPDisco.php
@@ -296,13 +296,14 @@ public function handleRequest(): void
296
}
297
298
299
- if (!is_null($t->data['faventry'])) {
+ if (isset($t->data['faventry'])) {
300
$t->data['autofocus'] = 'favouritesubmit';
301
302
303
/* store the tab list in the session */
304
$session = Session::getSessionFromRequest();
305
- $session->setData('discopower:tabList', 'faventry', $t->data['faventry']);
+ if (array_key_exists('faventry', $t->data))
306
+ $session->setData('discopower:tabList', 'faventry', $t->data['faventry']);
307
$session->setData('discopower:tabList', 'tabs', array_keys($idpList));
308
$session->setData('discopower:tabList', 'defaulttab', $t->data['defaulttab']);
309
0 commit comments