declare $bang variable in editpost_content()

This commit is contained in:
rabuzarus 2018-02-13 01:20:16 +01:00
parent 2f8d78fd9f
commit fb81d266bd

View file

@ -143,7 +143,7 @@ function editpost_content(App $a) {
'$emtitle' => L10n::t('Example: bob@example.com, mary@example.com'),
'$lockstate' => $lockstate,
'$acl' => '', // populate_acl((($group) ? $group_acl : $a->user)),
'$bang' => (($group) ? '!' : ''),
'$bang' => ($lockstate === 'lock' ? '!' : ''),
'$profile_uid' => $_SESSION['uid'],
'$preview' => L10n::t('Preview'),
'$jotplugins' => $jotplugins,