Skip to content
Snippets Groups Projects
Unverified Commit a8bd88af authored by eileen's avatar eileen :8ball: Committed by GitHub
Browse files

Merge pull request #14312 from spalmstr/Joomla_11

joomla#11 Fix php warning when viewing profiles
parents ee69d5aa d1b47a06
Branches 5.81
Tags 5.81.2
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.
Finish editing this message first!
Please register or to comment