Fix initial data type of listed var

This commit is contained in:
Miles Lott 2001-12-21 22:44:52 +00:00
parent 566aee1cb2
commit d662e5b113

View File

@ -16,6 +16,7 @@
{
if(@function_exists('mcrypt_list_algorithms'))
{
$listed = array();
if(!isset($config['mcrypt_algo']))
{
$config['mcrypt_algo'] = 'tripledes'; /* MCRYPT_TRIPLEDES */
@ -53,6 +54,7 @@
{
if(@function_exists('mcrypt_list_modes'))
{
$listed = array();
if(!isset($config['mcrypt_mode']))
{
$config['mcrypt_mode'] = 'cbc'; /* MCRYPT_MODE_CBC */