mirror of
https://github.com/friendica/friendica
synced 2024-12-23 01:21:27 +01:00
bug #352 - qcomment plugin disabled, qcomments still allowed
This commit is contained in:
parent
d83bfd464b
commit
87539dbec4
1 changed files with 5 additions and 2 deletions
|
@ -532,9 +532,12 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
|
||||||
if ($shareable) $likebuttons['share'] = array( t('Share this'), t('share'));
|
if ($shareable) $likebuttons['share'] = array( t('Share this'), t('share'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$qc = $qcomment = null;
|
||||||
|
|
||||||
$qc = ((local_user()) ? get_pconfig(local_user(),'qcomment','words') : null);
|
if(in_array('qcomment',$a->plugins)) {
|
||||||
$qcomment = (($qc) ? explode("\n",$qc) : null);
|
$qc = ((local_user()) ? get_pconfig(local_user(),'qcomment','words') : null);
|
||||||
|
$qcomment = (($qc) ? explode("\n",$qc) : null);
|
||||||
|
}
|
||||||
|
|
||||||
if(($show_comment_box) || (($show_comment_box == false) && ($override_comment_box == false) && ($item['last-child']))) {
|
if(($show_comment_box) || (($show_comment_box == false) && ($override_comment_box == false) && ($item['last-child']))) {
|
||||||
$comment = replace_macros($cmnt_tpl,array(
|
$comment = replace_macros($cmnt_tpl,array(
|
||||||
|
|
Loading…
Reference in a new issue