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

Fixed: dynamic hash computation using string repr

parent 5dbd9cf5
No related branches found
No related tags found
No related merge requests found
......@@ -239,7 +239,7 @@ class Settings_Webforms_Record_Model extends Settings_Vtiger_Record_Model {
* @return <String> id
*/
public function generatePublicId() {
return md5(microtime(true) + $this->getName());
return md5(sprintf("%f%s", microtime(true), $this->getName()));
}
/**
......@@ -461,4 +461,4 @@ class Settings_Webforms_Record_Model extends Settings_Vtiger_Record_Model {
return false;
}
}
}
\ No newline at end of file
}
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