CmdChart: Fixed wrong type of setting

This commit is contained in:
Paul Beckingham 2016-05-29 16:32:42 -04:00
parent ad870a3cb3
commit dc4412302e

View file

@ -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;