From be8c33396a4cf7fe504ddf2802724cc8d7df1ed0 Mon Sep 17 00:00:00 2001 From: lukehamburg Date: Sun, 28 Jun 2015 18:27:01 -0400 Subject: Fix bug in status_mail_report_add_cmd.php Existing code was referencing the wrong variable ($a_graphs instead of $a_cmds), which caused the IF test to fail, which then caused duplicate entries to be created each time the "edit command" form was submitted. This edit fixes the issue, tested on pfSense 2.1.5 nanobsd. --- config/mailreport/status_mail_report_add_cmd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/mailreport/status_mail_report_add_cmd.php b/config/mailreport/status_mail_report_add_cmd.php index 6a924142..b60f9a80 100644 --- a/config/mailreport/status_mail_report_add_cmd.php +++ b/config/mailreport/status_mail_report_add_cmd.php @@ -130,7 +130,7 @@ include("head.inc"); "> "> - + -- cgit v1.2.3