Skip to content
Snippets Groups Projects
Commit 58d4dc72 authored by Prasad's avatar Prasad
Browse files

Added missing update var declaration

parent 7d790b63
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ function Contacts_sendCustomerPortalLoginDetails($entityData){
$sql = "SELECT id, user_name, user_password, isactive FROM vtiger_portalinfo WHERE id=?";
$result = $adb->pquery($sql, array($entityId));
$insert = true;
$insert = true; $update = false;
if ($adb->num_rows($result)) {
$insert = false;
$dbusername = $adb->query_result($result,0,'user_name');
......
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