[Fusionforge-commits] FusionForge branch Branch_5_1 updated. 51cfd6646a2352bcc6bf0735608a1cd597d2753e

Thorsten Glaser mirabilos at fusionforge.org
Tue Sep 2 15:18:47 CEST 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, Branch_5_1 has been updated
       via  51cfd6646a2352bcc6bf0735608a1cd597d2753e (commit)
      from  67370b6a2d4bec31dcaf92538b904d47d051ae84 (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 51cfd6646a2352bcc6bf0735608a1cd597d2753e
Author: Thorsten Glaser <t.glaser at tarent.de>
Date:   Tue Sep 2 15:18:08 2014 +0200

    pg_result was PHP3 and died with PHP 4.2; pg_fetch_result is “new”
    
    thanks to PHP4 docs archive and nerville

diff --git a/src/common/include/database-pgsql.php b/src/common/include/database-pgsql.php
index 44914e3..40d23d0 100644
--- a/src/common/include/database-pgsql.php
+++ b/src/common/include/database-pgsql.php
@@ -423,7 +423,7 @@ function db_free_result($qhandle) {
  *	@return contents of field from database.
  */
 function db_result($qhandle,$row,$field) {
-	return @pg_result($qhandle,$row,$field);
+	return @pg_fetch_result($qhandle,$row,$field);
 }
 
 /**

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/database-pgsql.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list