diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-04-17 16:47:47 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-04-17 16:47:47 +0200 |
commit | 35d60274aba91da0abae83a97768a6cf761fcda5 (patch) | |
tree | a3dd3cea4c32ae2615db0e92c058f18052e42b96 /glpi-0.85-bug5218.patch | |
parent | 0f32a1a23f0a0a71a94cbabccb36c49b3d550530 (diff) |
glpi 0.85.3
Diffstat (limited to 'glpi-0.85-bug5218.patch')
-rw-r--r-- | glpi-0.85-bug5218.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/glpi-0.85-bug5218.patch b/glpi-0.85-bug5218.patch deleted file mode 100644 index 0da9fe6..0000000 --- a/glpi-0.85-bug5218.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: trunk/inc/user.class.php -=================================================================== ---- trunk/inc/user.class.php (révision 23364) -+++ trunk/inc/user.class.php (révision 23365) -@@ -602,7 +602,9 @@ - // Add default profile - if (!$rulesplayed) { - $affectation = array(); -- if (isset($this->input['_profiles_id']) && $this->input['_profiles_id']) { -+ if (isset($this->input['_profiles_id']) && $this->input['_profiles_id'] -+ && Profile::currentUserHaveMoreRightThan(array($this->input['_profiles_id'])) -+ ) { - $profile = $this->input['_profiles_id']; - // Choosen in form, so not dynamic - $affectation['is_dynamic'] = 0; |