Skip to content
Extraits de code Groupes Projets
Valider 3753d9e6 rédigé par Mindiell's avatar Mindiell
Parcourir les fichiers

Correction du nom de table dans le test

parent 58d9c324
Branches
Étiquettes
1 requête de fusion!37Mise en production
......@@ -40,11 +40,10 @@ class AddressHandler
if ($default != '' and $default != $addressId) {
// We have a default address which is not the current one
$this->connection->executeUpdate("UPDATE dons SET adresse_id = :default_id WHERE addresse_id = :id", $params);
$this->connection->executeUpdate("UPDATE dons SET adresse_id = :default_id WHERE adresse_id = :id", $params);
$this->connection->executeUpdate("UPDATE contreparties SET adresse_id= :default_id WHERE adresse_id = :id", $params);
} else {
// We do not have a default address and the address is used
// somehow.
// We do not have a default address and the address is used somehow
throw new AddressUsedException();
};
};
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter