Skip to content
Snippets Groups Projects
Commit 9b3cfc43 authored by Prasad's avatar Prasad
Browse files

Fixed: Query parameter placeholder.

parent cae7d933
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment