mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
2008-10-02 Esteban Sanchez <estebans@artica.es>
* operation/reporting/reporting_viewer.php, operation/reporting/reporting_xml.php: Quote order field on get_db_all_rows_field_filter(), since it was a reserved word in SQL. Style corrections. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
fe6510b8f3
commit
bca07b971f
@ -1,3 +1,10 @@
|
|||||||
|
2008-10-02 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
|
* operation/reporting/reporting_viewer.php,
|
||||||
|
operation/reporting/reporting_xml.php: Quote order field on
|
||||||
|
get_db_all_rows_field_filter(), since it was a reserved word in SQL.
|
||||||
|
Style corrections.
|
||||||
|
|
||||||
2008-10-02 Esteban Sanchez <estebans@artica.es>
|
2008-10-02 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
* include/functions_db.php: Removed quotes when using $order_field so
|
* include/functions_db.php: Removed quotes when using $order_field so
|
||||||
|
@ -125,7 +125,7 @@ $table->rowclass = array ();
|
|||||||
$table->rowclass[0] = 'datos3';
|
$table->rowclass[0] = 'datos3';
|
||||||
|
|
||||||
$group_name = dame_grupo ($report['id_group']);
|
$group_name = dame_grupo ($report['id_group']);
|
||||||
$contents = get_db_all_rows_field_filter ("treport_content","id_report",$id_report,"order");
|
$contents = get_db_all_rows_field_filter ("treport_content", "id_report", $id_report, "`order`");
|
||||||
if ($contents === false) {
|
if ($contents === false) {
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
@ -64,7 +64,7 @@ if ($datetime > time ()) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$group_name = dame_grupo ($report['id_group']);
|
$group_name = dame_grupo ($report['id_group']);
|
||||||
$contents = get_db_all_rows_field_filter ("treport_content","id_report",$id_report,"order");
|
$contents = get_db_all_rows_field_filter ('treport_content', 'id_report', $id_report, '`order`');
|
||||||
|
|
||||||
|
|
||||||
$xml["id"] = $id_report;
|
$xml["id"] = $id_report;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user