From 0b7e2fddbb291f01a581b1d7bf9cf74a96c96145 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 28 Jul 2011 10:36:43 +0000 Subject: [PATCH] Fix: Removed warning --- htdocs/core/class/interfaces.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/interfaces.class.php b/htdocs/core/class/interfaces.class.php index 64690d276f6..8deeda0fb57 100644 --- a/htdocs/core/class/interfaces.class.php +++ b/htdocs/core/class/interfaces.class.php @@ -22,7 +22,7 @@ * \file htdocs/core/class/interfaces.class.php * \ingroup core * \brief Fichier de la classe de gestion des triggers - * \version $Id: interfaces.class.php,v 1.7 2011/06/27 10:41:31 hregis Exp $ + * \version $Id: interfaces.class.php,v 1.8 2011/07/28 10:36:43 eldy Exp $ */ @@ -122,7 +122,7 @@ class Interfaces if ($objMod) { // Bypass if workflow module is enabled and if the trigger asked to be disable in such case - if ($conf->workflow->enabled && ! empty($objMod->disabled_if_workflow)) + if (! empty($conf->workflow->enabled) && ! empty($objMod->disabled_if_workflow)) { dol_syslog("Interfaces::run_triggers action=".$action." Bypass triggers for file '".$file."'",LOG_INFO); continue;