aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/OC/get_set.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/OC/get_set.js')
-rw-r--r--core/src/OC/get_set.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OC/get_set.js b/core/src/OC/get_set.js
index bf45ce85fc7..12f9aab56eb 100644
--- a/core/src/OC/get_set.js
+++ b/core/src/OC/get_set.js
@@ -28,7 +28,7 @@ export const get = context => name => {
const namespaces = name.split('.')
const tail = namespaces.pop()
- for (var i = 0; i < namespaces.length; i++) {
+ for (let i = 0; i < namespaces.length; i++) {
context = context[namespaces[i]]
if (!context) {
return false