lost comment boxes on status.net conversations
This commit is contained in:
parent
6c1d587ae3
commit
64a7d0b578
2
boot.php
2
boot.php
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
|
|
||||||
define ( 'FRIENDIKA_VERSION', '2.1.967' );
|
define ( 'FRIENDIKA_VERSION', '2.1.968' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1054 );
|
define ( 'DB_UPDATE_VERSION', 1054 );
|
||||||
|
|
||||||
|
|
|
@ -225,7 +225,7 @@ function conversation(&$a, $items, $mode, $update) {
|
||||||
|
|
||||||
$comments = array();
|
$comments = array();
|
||||||
foreach($items as $item) {
|
foreach($items as $item) {
|
||||||
if(intval($item['gravity']) == 6) {
|
if((intval($item['gravity']) == 6) && ($item['id'] != $item['parent'])) {
|
||||||
if(! x($comments,$item['parent']))
|
if(! x($comments,$item['parent']))
|
||||||
$comments[$item['parent']] = 1;
|
$comments[$item['parent']] = 1;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user