From 4e53b573130d1ad0817972e9d99a2e62ddb66cc6 Mon Sep 17 00:00:00 2001 From: Juanjo Menent <jmenent@2byte.es> Date: Sat, 10 May 2014 17:54:13 +0200 Subject: [PATCH] Fix: [ bug #1374 ] Salaries module requires "Special costs" module to work but it does not enable it --- htdocs/core/modules/modSalaries.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/modules/modSalaries.class.php b/htdocs/core/modules/modSalaries.class.php index 9947cdce87c..afff30c0736 100644 --- a/htdocs/core/modules/modSalaries.class.php +++ b/htdocs/core/modules/modSalaries.class.php @@ -4,6 +4,7 @@ * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org> * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com> + * Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -68,7 +69,7 @@ class modSalaries extends DolibarrModules $this->config_page_url = array(); // Dependances - $this->depends = array(); + $this->depends = array("modTax"); $this->requiredby = array(); $this->conflictwith = array(); $this->langfiles = array("salaries"); -- GitLab