Skip to content
Snippets Groups Projects
Commit d1b47a06 authored by spalmstr's avatar spalmstr
Browse files

Joomla_11 Patch CRM/Contact/BAO/Contact/Utils.php

parent 4da63d8a
Branches
Tags
No related merge requests found
......@@ -228,8 +228,9 @@ WHERE id IN ( $idString )
$inputLF = CRM_Utils_Array::value(2, $input);
$check = self::generateChecksum($contactID, $inputTS, $inputLF);
if (!hash_equals($check, $inputCheck)) {
// Joomla_11 - If $inputcheck is null without explicitly casting to a string
// you get an error.
if (!hash_equals($check, (string) $inputCheck)) {
return FALSE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment