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:
Esteban Sanchez 2008-10-02 09:46:27 +00:00
parent a553e8613d
commit 9152344de7
3 changed files with 12 additions and 5 deletions

View File

@ -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

View File

@ -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;
};

View File

@ -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;