From 300415c2699b53532d2cf5f52c9d1f83bc6a442c Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 29 Jul 2020 09:49:36 +0200 Subject: [PATCH] Update PluginRepo.plugin.js --- Plugins/PluginRepo/PluginRepo.plugin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/PluginRepo/PluginRepo.plugin.js b/Plugins/PluginRepo/PluginRepo.plugin.js index 9ef3dd8cb7..77e2ff2fdc 100644 --- a/Plugins/PluginRepo/PluginRepo.plugin.js +++ b/Plugins/PluginRepo/PluginRepo.plugin.js @@ -345,7 +345,7 @@ var PluginRepo = (_ => { return class PluginRepo { getName () {return "PluginRepo";} - getVersion () {return "2.0.2";} + getVersion () {return "2.0.3";} getAuthor () {return "DevilBro";} @@ -516,7 +516,7 @@ var PluginRepo = (_ => { let oldfavorites = BDFDB.DataUtils.load(this, "favorites"); // REMOVE 26.07.2020 if (BDFDB.ObjectUtils.is(oldfavorites) && Object.keys(oldfavorites).length) { let newfavorites = []; - for (let url of oldfavorites) if (oldfavorites[url]) newfavorites.push(url); + for (let url in oldfavorites) if (oldfavorites[url]) newfavorites.push(url); BDFDB.DataUtils.save(newfavorites, this, "favorites"); } @@ -975,4 +975,4 @@ var PluginRepo = (_ => { } })(); -module.exports = PluginRepo; \ No newline at end of file +module.exports = PluginRepo;