Minor fixes in corelibs

This commit is contained in:
Clemens Schwaighofer
2020-01-22 15:14:25 +09:00
parent 3267fc0266
commit f7db84c62f
3 changed files with 3 additions and 2 deletions

View File

@@ -2725,7 +2725,7 @@ class Basic
break;
default:
$hash = 'sha256';
if (is_defined(DEFAULT_HASH)) {
if (defined(DEFAULT_HASH)) {
$hash = DEFAULT_HASH;
}
$uniq_id = hash($hash, uniqid((string)rand(), true));