'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'],