mirror of
https://github.com/friendica/friendica
synced 2024-12-23 20:00:16 +00:00
Problem with comment box, debug.
This commit is contained in:
parent
82d779a33b
commit
cc4361fddf
1 changed files with 5 additions and 0 deletions
|
@ -477,6 +477,8 @@ class Item extends BaseObject {
|
||||||
$ww = 'ww';
|
$ww = 'ww';
|
||||||
|
|
||||||
if($conv->is_writeable() && $this->is_writeable()) {
|
if($conv->is_writeable() && $this->is_writeable()) {
|
||||||
|
logger('[DEBUG] Item::get_comment_box : Comment box is visible.', LOGGER_DEBUG);
|
||||||
|
|
||||||
$a = $this->get_app();
|
$a = $this->get_app();
|
||||||
$qc = $qcomment = null;
|
$qc = $qcomment = null;
|
||||||
|
|
||||||
|
@ -514,6 +516,9 @@ class Item extends BaseObject {
|
||||||
'$ww' => (($conv->get_mode() === 'network') ? $ww : '')
|
'$ww' => (($conv->get_mode() === 'network') ? $ww : '')
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
logger('[DEBUG] Item::get_comment_box : Comment box is NOT visible. Conv: '. ($conv->is_writeable() ? 'yes' : 'no') .' Item: '. ($this->is_writeable() ? 'yes' : 'no'), LOGGER_DEBUG);
|
||||||
|
}
|
||||||
|
|
||||||
return $comment_box;
|
return $comment_box;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue