From f30cd1447b77f461dd0a459652bc03399d6d7878 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 6 Oct 2015 13:25:08 +0200 Subject: glpi: 0.85 is now in "remi" --- glpi-0.84-bug5218.patch | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 glpi-0.84-bug5218.patch (limited to 'glpi-0.84-bug5218.patch') diff --git a/glpi-0.84-bug5218.patch b/glpi-0.84-bug5218.patch deleted file mode 100644 index 062b68d..0000000 --- a/glpi-0.84-bug5218.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: branches/0.84-bugfixes/inc/user.class.php -=================================================================== ---- branches/0.84-bugfixes/inc/user.class.php (révision 23406) -+++ branches/0.84-bugfixes/inc/user.class.php (révision 23407) -@@ -556,7 +556,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; -- cgit