Skip to content
Snippets Groups Projects
Commit 90bb9ad0 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

removed random bytes generation

parent 8c8a2717
No related branches found
No related tags found
No related merge requests found
......@@ -600,7 +600,7 @@ function tooltipIcon($text, $important = false, $html = false): string
'text' => $text,
'important' => $important,
'html' => $html,
'tooltip_id' => md5($text) . random_bytes(4)
'tooltip_id' => md5($text)
]);
}
......@@ -618,7 +618,7 @@ function tooltipHtmlIcon($text, $important = false)
'text' => $text,
'important' => $important,
'html' => true,
'tooltip_id' => md5($text) . random_bytes(4)
'tooltip_id' => md5($text)
]);
}
......
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