mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-14 01:10:00 +01:00
Fix initial data type of listed var
This commit is contained in:
parent
566aee1cb2
commit
d662e5b113
@ -16,6 +16,7 @@
|
|||||||
{
|
{
|
||||||
if(@function_exists('mcrypt_list_algorithms'))
|
if(@function_exists('mcrypt_list_algorithms'))
|
||||||
{
|
{
|
||||||
|
$listed = array();
|
||||||
if(!isset($config['mcrypt_algo']))
|
if(!isset($config['mcrypt_algo']))
|
||||||
{
|
{
|
||||||
$config['mcrypt_algo'] = 'tripledes'; /* MCRYPT_TRIPLEDES */
|
$config['mcrypt_algo'] = 'tripledes'; /* MCRYPT_TRIPLEDES */
|
||||||
@ -53,6 +54,7 @@
|
|||||||
{
|
{
|
||||||
if(@function_exists('mcrypt_list_modes'))
|
if(@function_exists('mcrypt_list_modes'))
|
||||||
{
|
{
|
||||||
|
$listed = array();
|
||||||
if(!isset($config['mcrypt_mode']))
|
if(!isset($config['mcrypt_mode']))
|
||||||
{
|
{
|
||||||
$config['mcrypt_mode'] = 'cbc'; /* MCRYPT_MODE_CBC */
|
$config['mcrypt_mode'] = 'cbc'; /* MCRYPT_MODE_CBC */
|
||||||
|
Loading…
Reference in New Issue
Block a user