Skip to content

Commit

Permalink
Merge pull request #1 from customer-alliance/egircys-patch-1
Browse files Browse the repository at this point in the history
Array and string offset access syntax with curly braces is deprecated
  • Loading branch information
egircys authored Mar 30, 2020
2 parents 489bc51 + 34cccd1 commit 1c38af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHP/semantria/authrequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ protected function getMD5Hash($str)

for ($i = 0; $i < strlen($md5); $i += 2)
{
$bin .= chr(hexdec($md5{$i+1}) + hexdec($md5{$i}) * 16);
$bin .= chr(hexdec($md5[$i+1]) + hexdec($md5[$i]) * 16);
}

$md5sig = $this->urlencode(base64_encode($bin));
Expand Down

0 comments on commit 1c38af6

Please sign in to comment.