Fix fetching contacts
This commit is contained in:
@@ -211,12 +211,14 @@ class Contact
|
||||
|
||||
// Add internal fields
|
||||
$removal = [];
|
||||
if (!empty($fields)) {
|
||||
foreach (['id', 'updated', 'network'] as $internal) {
|
||||
if (!in_array($internal, $fields)) {
|
||||
$fields[] = $internal;
|
||||
$removal[] = $internal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// We first try the nurl (http://server.tld/nick), most common case
|
||||
$options = ['order' => ['id']];
|
||||
|
||||
Reference in New Issue
Block a user