aboutsummaryrefslogtreecommitdiffstats
path: root/config/mailreport
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-07-27 11:56:44 -0400
committerjim-p <jimp@pfsense.org>2012-07-27 11:56:44 -0400
commit631d9b3ff69fc548e57900028c9a0aeef1e62897 (patch)
tree1cddb907b7c5d80aa6aeb372ba1e512cd4f7d052 /config/mailreport
parent50d8ce945282aff349149de3a4fd590e364b54c7 (diff)
downloadpfsense-packages-631d9b3ff69fc548e57900028c9a0aeef1e62897.tar.gz
pfsense-packages-631d9b3ff69fc548e57900028c9a0aeef1e62897.tar.bz2
pfsense-packages-631d9b3ff69fc548e57900028c9a0aeef1e62897.zip
Declare $g a global here so the mail reports should pick up the theme
Diffstat (limited to 'config/mailreport')
-rw-r--r--config/mailreport/mail_reports.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/mailreport/mail_reports.inc b/config/mailreport/mail_reports.inc
index 48fbc868..8ab31301 100644
--- a/config/mailreport/mail_reports.inc
+++ b/config/mailreport/mail_reports.inc
@@ -213,6 +213,7 @@ function mail_report_generate_graph($database, $style, $graph, $start, $end) {
require_once("filter.inc");
require_once("shaper.inc");
require_once("rrd.inc");
+ global $g;
$pgtitle = array(gettext("System"),gettext("RRD Graphs"),gettext("Image viewer"));