forked from extern/egroupware
backport fix for php5 error on cleanup()
This commit is contained in:
parent
e18438cdcc
commit
8afddf6b17
@ -115,7 +115,14 @@
|
||||
{
|
||||
if ($this->mcrypt_version != 'old')
|
||||
{
|
||||
mcrypt_generic_end ($this->td);
|
||||
if(phpversion >= '4.1.1')
|
||||
{
|
||||
mcrypt_generic_deinit($this->td);
|
||||
}
|
||||
else
|
||||
{
|
||||
mcrypt_generic_end($this->td);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user