[Fusionforge-commits] FusionForge branch master updated. ec85e27117eeb79bbf86ea3980166379527890f1
Franck VILLAUME
nerville at fusionforge.org
Mon Feb 17 13:37:13 CET 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via ec85e27117eeb79bbf86ea3980166379527890f1 (commit)
from 4d1a6f318ab858bb5db8a3295b8d7c2455d0c9e4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ec85e27117eeb79bbf86ea3980166379527890f1
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Mon Feb 17 13:36:37 2014 +0100
pgsql: db_query_params, set default params
diff --git a/src/common/include/database-pgsql.php b/src/common/include/database-pgsql.php
index 94e4824..714a682 100644
--- a/src/common/include/database-pgsql.php
+++ b/src/common/include/database-pgsql.php
@@ -216,10 +216,10 @@ function db_query_from_file($file, $limit = -1, $offset = 0, $dbserver = NULL) {
* @param array $params parameters
* @param int $limit How many rows do you want returned.
* @param int $offset Of matching rows, return only rows starting here.
- * @param resource $dbserver Ability to spread load to multiple db servers.
+ * @param resource $dbserver Ability to spread load to multiple db servers.
* @return resource result set handle.
*/
-function db_query_params($qstring, $params, $limit = -1, $offset = 0, $dbserver = NULL) {
+function db_query_params($qstring, $params = array(), $limit = -1, $offset = 0, $dbserver = NULL) {
global $sysdebug_dbquery, $sysdebug_dberrors;
db_connect_if_needed();
-----------------------------------------------------------------------
Summary of changes:
src/common/include/database-pgsql.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list