2011-03-02 Miguel de Dios <miguel.dedios@artica.es>

* include/db/postgresql.php: fixed in the function
	"postgresql_get_db_all_rows_in_table" unclose quotes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-03-02 14:30:26 +00:00
parent 4351f86545
commit 3cddefe355
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php: fixed in the function
"postgresql_get_db_all_rows_in_table" unclose quotes.
2011-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/help/es/modu_group_list.php: erased the unused php file. I think

View File

@ -268,7 +268,7 @@ function postgresql_process_sql($sql, $rettype = "affected_rows", $dbconnection
*/
function postgresql_get_db_all_rows_in_table($table, $order_field = "", $order = 'ASC') {
if ($order_field != "") {
return get_db_all_rows_sql ('SELECT * FROM "'.$table.'" ORDER BY "'.$order_field . ' ' . $order);
return get_db_all_rows_sql ('SELECT * FROM "'.$table.'" ORDER BY "'.$order_field . '" ' . $order);
}
else {
return get_db_all_rows_sql ('SELECT * FROM "'.$table.'"');