- Fix hashcode update

This commit is contained in:
Vincent BRIDIER 2021-06-17 17:42:51 +02:00
parent 69cc72132f
commit 4965d8a2a0

View file

@ -240,6 +240,9 @@ class ContactController extends Controller
$contact->contact_ville = $commune;
$contact->contact_country = $pays;
$contact->contact_updatedate = date('Y-m-d H:i:s');
if (isset($request->hashcode) && $request->hashcode != "") {
$contact->contact_hash = $request->hashcode;
}
} else {
$site = Site::where('site_id', $refsite)->first();