diff --git a/modules/Contacts/ContactsHandler.php b/modules/Contacts/ContactsHandler.php index 54c876936084277c33ac60d05cd6879f4593fe70..000f807e54eb10f22dc1acb91eed5292c420f4cd 100644 --- a/modules/Contacts/ContactsHandler.php +++ b/modules/Contacts/ContactsHandler.php @@ -42,7 +42,7 @@ function Contacts_sendCustomerPortalLoginDetails($entityData){ $password = makeRandomPassword(); $md5_password = md5($password); if ($insert == true) { - $sql = "INSERT INTO vtiger_portalinfo(id,user_name,user_password,cryptmode,type,isactive) VALUES(?,?,?,?,?)"; + $sql = "INSERT INTO vtiger_portalinfo(id,user_name,user_password,cryptmode,type,isactive) VALUES(?,?,?,?,?,?)"; $params = array($entityId, $email, $md5_password, 'MD5', 'C', 1); $adb->pquery($sql, $params); }