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
1 changed files with 1 additions and 1 deletions

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'),