diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 25c40a1d39..1eb1339861 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -223,7 +223,7 @@ class Contact $ret = DBA::update('contact', $fields, $condition, $old_fields); // Apply changes to the "user-contact" table on dedicated fields - Contact\User::UpdateByContactUpdate($fields, $condition); + Contact\User::updateByContactUpdate($fields, $condition); return $ret; } diff --git a/src/Model/Contact/User.php b/src/Model/Contact/User.php index bf6fa8a947..184b10991f 100644 --- a/src/Model/Contact/User.php +++ b/src/Model/Contact/User.php @@ -87,7 +87,7 @@ class User * @throws PDOException * @throws Exception */ - public static function UpdateByContactUpdate(array $fields, array $condition) + public static function updateByContactUpdate(array $fields, array $condition) { DBA::transaction();