mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-26 20:24:39 +01:00
Hash: fix E_NOTICE with PHP4-style constructor
This commit is contained in:
parent
b99345704a
commit
99a2127856
@ -178,7 +178,7 @@ class Crypt_Hash
|
||||
*/
|
||||
function Crypt_Hash($hash = 'sha1')
|
||||
{
|
||||
$this->__construct($mode);
|
||||
$this->__construct($hash);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user