Replace $_SESSION

This commit is contained in:
Philipp 2022-11-15 22:52:23 +01:00
parent 01c2a775e4
commit 09e01b9356
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432

View File

@ -159,7 +159,7 @@ class Edit extends BaseModule
'$lockstate' => $lockstate, '$lockstate' => $lockstate,
'$acl' => '', // populate_acl((($group) ? $group_acl : $a->user)), '$acl' => '', // populate_acl((($group) ? $group_acl : $a->user)),
'$bang' => ($lockstate === 'lock' ? '!' : ''), '$bang' => ($lockstate === 'lock' ? '!' : ''),
'$profile_uid' => $_SESSION['uid'], '$profile_uid' => $this->session->getLocalUserId(),
'$preview' => $this->t('Preview'), '$preview' => $this->t('Preview'),
'$jotplugins' => $jotplugins, '$jotplugins' => $jotplugins,
'$cancel' => $this->t('Cancel'), '$cancel' => $this->t('Cancel'),