Correct identification of wall-to-wall items (see friendica/friendica@96b9cda43d)
This commit is contained in:
parent
51802b0ae8
commit
8efe4077d3
|
@ -544,7 +544,6 @@ class Item extends BaseObject {
|
||||||
$this->set_template('wall2wall');
|
$this->set_template('wall2wall');
|
||||||
$this->wall_to_wall = true;
|
$this->wall_to_wall = true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else if($this->get_data_value('owner-link')) {
|
else if($this->get_data_value('owner-link')) {
|
||||||
|
|
||||||
$owner_linkmatch = (($this->get_data_value('owner-link')) && link_compare($this->get_data_value('owner-link'),$this->get_data_value('author-link')));
|
$owner_linkmatch = (($this->get_data_value('owner-link')) && link_compare($this->get_data_value('owner-link'),$this->get_data_value('author-link')));
|
||||||
|
@ -576,6 +575,7 @@ class Item extends BaseObject {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(!$this->wall_to_wall) {
|
if(!$this->wall_to_wall) {
|
||||||
$this->set_template('wall');
|
$this->set_template('wall');
|
||||||
|
|
Loading…
Reference in a new issue