From 6b41e5648edb87c092a28112d5b71e302326669f Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Mon, 18 Sep 2017 17:35:08 +0200 Subject: [PATCH] Bugfix dei referenti --- plugins/referenti/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/referenti/actions.php b/plugins/referenti/actions.php index 652f7661d..2830f3a38 100644 --- a/plugins/referenti/actions.php +++ b/plugins/referenti/actions.php @@ -13,7 +13,7 @@ switch ($operazione) { $idsede = filter('idsede'); if (isset($nome) && isset($idsede)) { - $query = 'INSERT INTO `an_referenti` (`nome`, `mansione`, `telefono`, `email`, `idanagrafica`, `idsede`) VALUES ('.prepare($nome).', '.prepare($mansione).', '.prepare($telefono).', '.prepare($email).', '.prepare($id_record).', '.prepare($idsede).')'; + $query = 'INSERT INTO `an_referenti` (`nome`, `mansione`, `telefono`, `email`, `idanagrafica`, `idsede`) VALUES ('.prepare($nome).', '.prepare($mansione).', '.prepare($telefono).', '.prepare($email).', '.prepare($id_parent).', '.prepare($idsede).')'; $dbo->query($query); $_SESSION['infos'][] = tr('Aggiunto nuovo referente!');