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
a553e8613d
commit
9152344de7
|
@ -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>
|
||||
|
||||
* include/functions_db.php: Removed quotes when using $order_field so
|
||||
|
|
|
@ -125,7 +125,7 @@ $table->rowclass = array ();
|
|||
$table->rowclass[0] = 'datos3';
|
||||
|
||||
$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) {
|
||||
return;
|
||||
};
|
||||
|
|
|
@ -64,7 +64,7 @@ if ($datetime > time ()) {
|
|||
}
|
||||
|
||||
$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;
|
||||
|
|
Loading…
Reference in New Issue