]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
removed one line too much
[friendica.git] / mod / editpost.php
index 86099e74575e1125db89215c35aa9c29c48e8c8f..aa2c296845c95ce7d3dd34f201fa48024a703854 100644 (file)
@@ -10,8 +10,6 @@ use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Database\DBM;
 
-require_once 'include/acl_selectors.php';
-
 function editpost_content(App $a) {
 
        $o = '';
@@ -143,7 +141,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,