summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/rrdMultiFile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rrdMultiFile.js b/src/lib/rrdMultiFile.js
index c591aad..014899e 100644
--- a/src/lib/rrdMultiFile.js
+++ b/src/lib/rrdMultiFile.js
@@ -120,7 +120,7 @@ function rrdFileSort(f1, f2) {
function RRDFileSum(file_list,sumfile_options) {
if (sumfile_options==undefined) {
sumfile_options={};
- } elif (typeof(sumfile_options)=="boolean") {
+ } else if (typeof(sumfile_options)=="boolean") {
sumfile_options={treat_undefined_as_zero:sumfile_options};
}
this.sumfile_options=sumfile_options;