diff options
author | jim-p <jimp@pfsense.org> | 2014-05-07 14:11:07 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-05-07 14:11:07 -0400 |
commit | 85254446a1d482496a2b619d028533e885ca77e6 (patch) | |
tree | cfbfbf70390863123535c6de52aa205f5f7caade /config/mailreport | |
parent | d619c494d383ce2223e144cf1fdffc2883d44b79 (diff) | |
download | pfsense-packages-85254446a1d482496a2b619d028533e885ca77e6.tar.gz pfsense-packages-85254446a1d482496a2b619d028533e885ca77e6.tar.bz2 pfsense-packages-85254446a1d482496a2b619d028533e885ca77e6.zip |
Retrieve current theme before attempting to reference the theme, otherwise it is blank on a plain installation. Bump version. Fixes #3503
Diffstat (limited to 'config/mailreport')
-rw-r--r-- | config/mailreport/mail_reports.inc | 2 | ||||
-rw-r--r-- | config/mailreport/mailreport.xml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/config/mailreport/mail_reports.inc b/config/mailreport/mail_reports.inc index aa2bc3ce..5d9e74b2 100644 --- a/config/mailreport/mail_reports.inc +++ b/config/mailreport/mail_reports.inc @@ -240,7 +240,9 @@ function mail_report_generate_graph($database, $style, $graph, $start, $end) { require_once("filter.inc"); require_once("shaper.inc"); require_once("rrd.inc"); + require_once("util.inc"); global $g; + $g['theme'] = get_current_theme(); $pgtitle = array(gettext("System"),gettext("RRD Graphs"),gettext("Image viewer")); diff --git a/config/mailreport/mailreport.xml b/config/mailreport/mailreport.xml index fe0b98b6..fe6899d4 100644 --- a/config/mailreport/mailreport.xml +++ b/config/mailreport/mailreport.xml @@ -37,7 +37,7 @@ ]]> </copyright> <name>mailreport</name> - <version>2.0.10</version> + <version>2.0.11</version> <title>Status: Email Reports</title> <additional_files_needed> <prefix>/usr/local/bin/</prefix> |