Skip to content

Commit

Permalink
Fixed indent on system/helper/general file
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed May 16, 2024
1 parent b85052e commit 9dbc6e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions upload/system/helper/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ function oc_token($length = 32) {
* http://php.net/manual/en/function.hash-equals.php
*/
if (!function_exists('hash_equals')) {
function hash_equals($known_string, $user_string) {
$known_string = (string)$known_string;
$user_string = (string)$user_string;
function hash_equals($known_string, $user_string)
{
$known_string = (string) $known_string;
$user_string = (string) $user_string;

if (strlen($known_string) != strlen($user_string)) {
return false;
Expand Down

0 comments on commit 9dbc6e4

Please sign in to comment.