This fixes a logged error in function plugin_thold_log_changes() (section modified_template) when editing and saving a template.
ERROR PHP WARNING in Plugin 'thold': Undefined array key "thold_per_enabled" in file: /var/www/html/cacti/plugins/thold/thold_functions.php on line: ~1889
This adds to also copy the values decimals, units_suffix and show_units to the threshold when creating a threshold from a template via a data source list action, assuming that was expected and just missed.
This fixes a logged error in function plugin_thold_log_changes() (section modified_template) when editing and saving a template.
ERROR PHP WARNING in Plugin 'thold': Undefined array key "thold_per_enabled" in file: /var/www/html/cacti/plugins/thold/thold_functions.php on line: ~1889
This adds to also copy the values decimals, units_suffix and show_units to the threshold when creating a threshold from a template via a data source list action, assuming that was expected and just missed.