From 26b609fb7853b216c6f0aa264a4c5eb86aab7801 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 23 Apr 2010 18:23:02 +0000 Subject: [PATCH] Doxygen --- htdocs/core/interfaces.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/interfaces.class.php b/htdocs/core/interfaces.class.php index d658c432a89..34f9f0fafd2 100644 --- a/htdocs/core/interfaces.class.php +++ b/htdocs/core/interfaces.class.php @@ -167,6 +167,7 @@ class Interfaces /** * \brief Return list of triggers. + * \param workflow 0=Return all triggers, 1=Return only triggers not disabled if workflow module activated */ function getTriggersList($workflow=0) { @@ -231,7 +232,7 @@ class Interfaces { $objMod = new $modName($db); // Bypass if workflow module is enabled and if the trigger is compatible - if ($workflow && empty($objMod->disabled_if_workflow)) continue; + if ($workflow && ! empty($objMod->disabled_if_workflow)) continue; } // Define disabledbyname and disabledbymodule