mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-06-20 01:44:42 +02:00
ajout restaurant et cuisine
This commit is contained in:
parent
a1c5647b43
commit
0577081581
10 changed files with 192 additions and 29 deletions
|
@ -45,6 +45,10 @@ class PublicController extends AbstractController
|
|||
if ($existingPlace) {
|
||||
// Mettre à jour l'email de la Place existante
|
||||
$existingPlace->setEmail($email)->setLastContactAttemptDate(new \DateTime());
|
||||
if($zipCode != -1) {
|
||||
$existingPlace->setZipCode($zipCode);
|
||||
}
|
||||
$this->entityManager->persist($existingPlace);
|
||||
$this->entityManager->flush();
|
||||
|
||||
$debug = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue