mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
2011-09-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Fixed bad condition in serialized reports code. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
607a9dea3c
commit
2018c1f8b0
@ -1,3 +1,8 @@
|
|||||||
|
2011-09-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
|
* include/functions_reporting.php: Fixed bad condition in serialized
|
||||||
|
reports code.
|
||||||
|
|
||||||
2011-09-11 Junichi Satoh <junichi@rworks.jp>
|
2011-09-11 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
* include/help/ja/help_action_threshold.php: Added a new help file.
|
* include/help/ja/help_action_threshold.php: Added a new help file.
|
||||||
|
@ -2725,8 +2725,9 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
|||||||
WHERE id_agente_modulo = ' . $content['id_agent_module'] . '
|
WHERE id_agente_modulo = ' . $content['id_agent_module'] . '
|
||||||
AND utimestamp > ' . $datelimit . '
|
AND utimestamp > ' . $datelimit . '
|
||||||
AND utimestamp <= ' . $report["datetime"]);
|
AND utimestamp <= ' . $report["datetime"]);
|
||||||
|
|
||||||
// Adds string data if there is no numeric data
|
// Adds string data if there is no numeric data
|
||||||
if ((count($result) >= 0) or (!$result)){
|
if ((count($result) < 0) or (!$result)){
|
||||||
$result = db_get_all_rows_sql('SELECT *
|
$result = db_get_all_rows_sql('SELECT *
|
||||||
FROM tagente_datos_string
|
FROM tagente_datos_string
|
||||||
WHERE id_agente_modulo = ' . $content['id_agent_module'] . '
|
WHERE id_agente_modulo = ' . $content['id_agent_module'] . '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user