From 9a04f5ed37314e91841563ee6cfa5cef686b25d4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 28 Jan 2005 20:34:16 +0000 Subject: [PATCH] Fix: Debuggage et corrections diverses sur la gestion des groupes --- htdocs/master.inc.php | 5 +++++ mysql/tables/llx_usergroup.sql | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/master.inc.php b/htdocs/master.inc.php index 04e6159e2ff..0975e38b02d 100644 --- a/htdocs/master.inc.php +++ b/htdocs/master.inc.php @@ -177,6 +177,11 @@ $langs = new Translate(DOL_DOCUMENT_ROOT ."/langs", $conf->langage); * Activation des modules * et inclusion de librairies dépendantes */ +define(MAIN_MODULE_BOOKMARK4U,1); +if (defined("MAIN_MODULE_BOOKMARK4U")) +{ + $conf->bookmark4u->enabled=MAIN_MODULE_BOOKMARK4U; +} if (defined("MAIN_MODULE_DEPLACEMENT")) { $conf->deplacement->enabled=MAIN_MODULE_DEPLACEMENT; diff --git a/mysql/tables/llx_usergroup.sql b/mysql/tables/llx_usergroup.sql index 1bce0ee1314..f030527cf28 100644 --- a/mysql/tables/llx_usergroup.sql +++ b/mysql/tables/llx_usergroup.sql @@ -1,5 +1,6 @@ -- ============================================================================ -- Copyright (C) 2005 Rodolphe Quiedeville +-- Copyright (C) 2005 Laurent Destailleur -- -- 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 @@ -25,7 +26,7 @@ create table llx_usergroup rowid integer AUTO_INCREMENT PRIMARY KEY, datec datetime, tms timestamp, - nom varchar(255) NOT NULL, + nom varchar(255) NOT NULL UNIQUE, note text )type=innodb;