Describe the bug
Cacti Version 1.2.12
After add an input field the whole Input Methods was renamed
To Reproduce
Steps to reproduce the behavior:
-
Go to Data Collection --> Data Input Methods
-
Select one Input Methods
-
Click "Add" Input Field
-
Add an input field for example: snmp_community or hostname
-
Click Save
Expected behavior
The "friendly name" of the newly added field was used as name for the whole "Input Methods".
Screenshots

Desktop (please complete the following information)
Smartphone (please complete the following information)
Additional context
Add any other context about the problem here.
Describe the bug
Cacti Version 1.2.12
After add an input field the whole Input Methods was renamed
To Reproduce
Steps to reproduce the behavior:
Go to Data Collection --> Data Input Methods
Select one Input Methods
Click "Add" Input Field
Add an input field for example: snmp_community or hostname
Click Save
Expected behavior
The "friendly name" of the newly added field was used as name for the whole "Input Methods".
Screenshots
Desktop (please complete the following information)
OS: [e.g. iOS] Win 10
Browser [e.g. chrome, safari] Firefox
Version [e.g. 22] 78.0.1
Smartphone (please complete the following information)
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.