options['break_phrase'])) { $this->value = explode(',', $this->argument); } else { $this->value = array($this->argument); } $filter_string = ''; foreach ($this->value as $uid) { foreach (flag_friend_get_friends($uid) as $friend_id => $friend) { $filter_string .= " OR $friend_id"; } } $filter_string = drupal_substr($filter_string, 4); $this->query->add_filter($this->real_field, "($filter_string)"); } }