Project

General

Profile

Bug #6040

system_advanced_misc.php - RRD and DHCP lease backup field will not accept "0"

Added by Jim Pingle about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
03/29/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.3
Affected Architecture:
All

Description

For RRD and DHCP lease backup a value of 0 signified "disable" on 2.2.x, and the code on the page still accounts for 0 being allowed except for the bootstrap-based input validation.

It's not so significant it would require upgrade code, but the field should allow 0 and, rather than storing 0, unset the variable as if it were left blank/empty.

To me, I have a fix pending.

Associated revisions

Revision 5c948e54 (diff)
Added by Jim Pingle about 3 years ago

Fix logic for RRD and DHCP leases backup, and fix wording in the placeholder text. Fixes #6040

History

#1 Updated by Jim Pingle about 3 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#2 Updated by Chris Buechler about 3 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF