1
0
Fork 0

Got of the get_* function about data, use get_data_value instead (except for get_id, which is very conveniant).

This commit is contained in:
Domovoy 2012-08-11 17:51:25 +02:00
commit 1c36d14673
2 changed files with 3 additions and 15 deletions

View file

@ -54,7 +54,7 @@ class Conversation extends BaseObject {
$result = array();
foreach($this->threads as $item) {
if($item->get_network() === NETWORK_MAIL && local_user() != $item->get_uid())
if($item->get_data_value('network') === NETWORK_MAIL && local_user() != $item->get_data_value('uid'))
continue;
$item_data = $item->get_template_data($cmnt_tpl, $this->mode, $alike, $dlike);
if(!$item_data) {