projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8d78f
)
declare $bang variable in editpost_content()
author
rabuzarus
<rabuzarus@t-online.de>
Tue, 13 Feb 2018 00:20:16 +0000
(
01:20
+0100)
committer
rabuzarus
<rabuzarus@t-online.de>
Tue, 13 Feb 2018 00:20:16 +0000
(
01:20
+0100)
mod/editpost.php
patch
|
blob
|
history
diff --git
a/mod/editpost.php
b/mod/editpost.php
index 86099e74575e1125db89215c35aa9c29c48e8c8f..3081b67293730250e5f4fde90f687f8db9b64405 100644
(file)
--- 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,