Correct identification of wall-to-wall items (see friendica/friendica@96b9cda43d)

This commit is contained in:
Domovoy 2012-08-18 17:36:38 +02:00
parent 51802b0ae8
commit 8efe4077d3
1 changed files with 24 additions and 24 deletions

View File

@ -544,7 +544,6 @@ class Item extends BaseObject {
$this->set_template('wall2wall');
$this->wall_to_wall = true;
}
}
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')));
@ -576,6 +575,7 @@ class Item extends BaseObject {
}
}
}
}
if(!$this->wall_to_wall) {
$this->set_template('wall');