1
0
Fork 0

Replace $_SESSION

This commit is contained in:
Philipp Holzer 2022-11-15 22:52:23 +01:00
parent 01c2a775e4
commit 09e01b9356
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View file

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