From dc4412302ea0bb1c1ab11757cd232a2708faa4ce Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 29 May 2016 16:32:42 -0400 Subject: [PATCH] CmdChart: Fixed wrong type of setting --- src/commands/CmdChart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/CmdChart.cpp b/src/commands/CmdChart.cpp index a13b9141..14993aaa 100644 --- a/src/commands/CmdChart.cpp +++ b/src/commands/CmdChart.cpp @@ -219,7 +219,7 @@ static void determineHourRange ( int& first_hour, int& last_hour) { - if (rules.getBoolean ("reports." + type + ".hours") == "auto") + if (rules.get ("reports." + type + ".hours") == "auto") { // Get the extreme time range for the filtered data. first_hour = 23;