Project

General

Profile

Actions

Bug #4281

closed

E-Mail Reports (mailreports package) Error With Multiple Graphs

Added by Bryce Chidester over 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/24/2015
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

When a report has multiple graphs, the following errors are generated while generating graphs 2-N

Warning: Cannot use a scalar value as an array in /etc/inc/mail_reports.inc on line 247
Warning: header(): Cannot change zlib.output_compression - headers already sent in /etc/inc/mail_reports.inc on line 1178

The global variable $g is re-cast/reused within mail_report_generate_graph(), causing subsequent calls to the function to elicit the above errors.
Note that this is related to #3503.

A patch is forthcoming.

Actions

Also available in: Atom PDF