mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed lost variable.
This commit is contained in:
parent
085c4521d0
commit
9d18fd6910
@ -246,6 +246,8 @@ function reporting_general($report, $content) {
|
|||||||
|
|
||||||
$return = array();
|
$return = array();
|
||||||
$return['type'] = 'general';
|
$return['type'] = 'general';
|
||||||
|
$return['subtype'] = $content['group_by_agent'];
|
||||||
|
$return['resume'] = $content['show_resume'];
|
||||||
|
|
||||||
if (empty($content['name'])) {
|
if (empty($content['name'])) {
|
||||||
$content['name'] = __('General');
|
$content['name'] = __('General');
|
||||||
@ -342,7 +344,7 @@ function reporting_general($report, $content) {
|
|||||||
$return["data"][$ag_name][$mod_name] = null;
|
$return["data"][$ag_name][$mod_name] = null;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!is_numeric($value_res)) {
|
if (!is_numeric($data_res[$key])) {
|
||||||
$return["data"][$ag_name][$mod_name] = $data_res[$key];
|
$return["data"][$ag_name][$mod_name] = $data_res[$key];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user