From: rabuzarus Date: Tue, 13 Feb 2018 00:20:16 +0000 (+0100) Subject: declare $bang variable in editpost_content() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fb81d266bd61ab33d251d2ae68afb57d13c4f31b;p=friendica.git declare $bang variable in editpost_content() --- diff --git a/mod/editpost.php b/mod/editpost.php index 86099e7457..3081b67293 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -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,