From 22bde298de5b009e0431fb96ceb5b78cd62cb3af Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Mon, 3 Jun 2013 23:06:15 +0200 Subject: [PATCH] Fix: First permission must start with 1 --- htdocs/core/modules/modOpenSurvey.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/modules/modOpenSurvey.class.php b/htdocs/core/modules/modOpenSurvey.class.php index 6c49a1c2143..2d4b267a8e3 100755 --- a/htdocs/core/modules/modOpenSurvey.class.php +++ b/htdocs/core/modules/modOpenSurvey.class.php @@ -106,7 +106,7 @@ class modOpenSurvey extends DolibarrModules // Add here list of permission defined by an id, a label, a boolean and two constant strings. // Example: - $this->rights[$r][0] = 55000; // Permission id (must not be already used) + $this->rights[$r][0] = 55001; // Permission id (must not be already used) $this->rights[$r][1] = 'Read surveys'; // Permission label $this->rights[$r][2] = 'r'; // Permission by default for new user (0/1) $this->rights[$r][3] = 0; // Permission by default for new user (0/1) @@ -116,7 +116,7 @@ class modOpenSurvey extends DolibarrModules // Add here list of permission defined by an id, a label, a boolean and two constant strings. // Example: - $this->rights[$r][0] = 55001; // Permission id (must not be already used) + $this->rights[$r][0] = 55002; // Permission id (must not be already used) $this->rights[$r][1] = 'Create/modify surveys'; // Permission label $this->rights[$r][2] = 'w'; // Permission by default for new user (0/1) $this->rights[$r][3] = 0; // Permission by default for new user (0/1) -- GitLab