From: Fabii547 Date: Thu, 4 Aug 2016 15:57:45 +0000 (+0200) Subject: Fix WCF/Permission#addObject (#2073) X-Git-Tag: 3.0.0_Beta_1~812 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b95d8446bd4a5b9b8d50294c257f41d22a959e68;p=GitHub%2FWoltLab%2FWCF.git Fix WCF/Permission#addObject (#2073) --- 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]); } } },