From f476bee0c7cdcdb9145d7a70c1fee404bd18f44e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Wed, 23 Apr 2014 17:34:36 +0200 Subject: [PATCH] Qual: Missing variable declaration --- htdocs/core/modules/modCron.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/core/modules/modCron.class.php b/htdocs/core/modules/modCron.class.php index 131ee875c44..c7c221d0856 100644 --- a/htdocs/core/modules/modCron.class.php +++ b/htdocs/core/modules/modCron.class.php @@ -149,7 +149,9 @@ class modCron extends DolibarrModules */ function init($options='') { - // Prevent pb of modules not correctly disabled + $sql = array(); + + // Prevent pb of modules not correctly disabled //$this->remove($options); return $this->_init($sql,$options);