Rename selectOne to selectFirst
This commit is contained in:
@@ -888,7 +888,7 @@ class GContact
|
||||
'network', 'bd', 'gender',
|
||||
'keywords', 'alias', 'contact-type',
|
||||
'url', 'location', 'about');
|
||||
$old_contact = dba::selectOne('contact', $fields, ['id' => $r[0]["id"]]);
|
||||
$old_contact = dba::selectFirst('contact', $fields, ['id' => $r[0]["id"]]);
|
||||
|
||||
// Update it with the current values
|
||||
$fields = array('name' => $contact['name'], 'nick' => $contact['nick'],
|
||||
|
||||
Reference in New Issue
Block a user