2012-03-25 Junichi Satoh <junichi@rworks.jp>

* include/db/postgresql.sql: Removed unnecessary quotes for making
	query in postgresql_db_get_all_rows_filter().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5832 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2012-03-25 08:04:36 +00:00
parent 4f1cadae00
commit 8d999ead87
2 changed files with 6 additions and 1 deletions
pandora_console

View File

@ -1,3 +1,8 @@
2012-03-25 Junichi Satoh <junichi@rworks.jp>
* include/db/postgresql.sql: Removed unnecessary quotes for making
query in postgresql_db_get_all_rows_filter().
2012-03-25 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Added a missing

View File

@ -712,7 +712,7 @@ function postgresql_db_get_all_rows_filter ($table, $filter = array(), $fields =
$fields = '*';
}
elseif (is_array($fields)) {
$fields = '"' . implode('" , "', $fields) . '"';
$fields = implode(',', $fields);
}
elseif (!is_string($fields)) {
return false;