Merge pull request #3928 from tobiaswaldvogel/fix_luci_app_statistics_plugin_df
authorDirk Brenken <dev@brenken.org>
Sat, 18 Apr 2020 14:04:26 +0000 (16:04 +0200)
committerGitHub <noreply@github.com>
Sat, 18 Apr 2020 14:04:26 +0000 (16:04 +0200)
luci_app_statistics: Add missing variable declaration for plugin df

applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/df.js

index 34fbb9b5c4700e7d1e026d0c36f5262e4153a575..9790788b884753bdb3660b87143fefbaf8b66e39 100644 (file)
@@ -72,6 +72,7 @@ return baseclass.extend({
                };
 
                var types = graph.dataTypes(host, plugin, plugin_instance);
+               var p = [];
 
                for (var i = 0; i < types.length; i++)
                        if (types[i] == 'percent_bytes')