2
0
forked from Wavyzz/dolibarr

Fix: Enabling permission on modules enabled during install was not working.

This commit is contained in:
Laurent Destailleur
2011-07-17 18:13:44 +00:00
parent 22079f582a
commit ccb6e63bcb
4 changed files with 92 additions and 73 deletions

View File

@@ -21,7 +21,7 @@
/**
* \file htdocs/lib/admin.lib.php
* \brief Library of admin functions
* \version $Id$
* \version $Id: admin.lib.php,v 1.97 2011/07/17 18:13:44 eldy Exp $
*/
@@ -468,7 +468,7 @@ function dolibarr_set_const($db, $name, $value, $type='chaine', $visible=0, $not
/**
* \brief Define head array for tabs of security setup pages
* \return Array of head
* \version $Id$
* \version $Id: admin.lib.php,v 1.97 2011/07/17 18:13:44 eldy Exp $
*/
function security_prepare_head()
{
@@ -601,8 +601,8 @@ function purgeSessions($mysessionid)
/**
* Enable a module
* @param value Nom du module a activer
* @param withdeps Active/desactive aussi les dependances
* @param value Name of module to activate
* @param withdeps Activate/Disable also all dependencies
* @return string Error message or '';
*/
function Activate($value,$withdeps=1)