From b95d8446bd4a5b9b8d50294c257f41d22a959e68 Mon Sep 17 00:00:00 2001 From: Fabii547 Date: Thu, 4 Aug 2016 17:57:45 +0200 Subject: [PATCH] Fix WCF/Permission#addObject (#2073) --- wcfsetup/install/files/js/WoltLab/WCF/Permission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Permission.js b/wcfsetup/install/files/js/WoltLab/WCF/Permission.js index 577babff48..9fbc322767 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Permission.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Permission.js @@ -37,7 +37,7 @@ define(['Dictionary'], function(Dictionary) { addObject: function(object) { for (var key in object) { if (objOwns(object, key)) { - this.addPermission(key, object[key]); + this.add(key, object[key]); } } }, -- 2.20.1