From 2878975398b1a69ec4912cf12da0e5a2b2650a5b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 29 Jun 2009 14:21:17 +0000 Subject: [PATCH] Fix: Remove warnings --- htdocs/core/conf.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/core/conf.class.php b/htdocs/core/conf.class.php index e34f411e63b..3fbbac2d1e3 100644 --- a/htdocs/core/conf.class.php +++ b/htdocs/core/conf.class.php @@ -78,6 +78,10 @@ class Conf { dol_syslog("Conf::setValues"); + // Avoid warning if not defined + if (empty($this->db->dolibarr_main_db_encryption)) $this->db->dolibarr_main_db_encryption=0; + if (empty($this->db->dolibarr_main_db_cryptkey)) $this->db->dolibarr_main_db_cryptkey=''; + /* * Definition de toutes les constantes globales d'environnement * - En constante php (TODO a virer)