Replace $_SESSION
This commit is contained in:
parent
01c2a775e4
commit
09e01b9356
|
@ -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'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user