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  1908c08437c335a10af4d7d748090c87ebec0e07 (commit)
      from  6eebb860e3db3993babbbf65aa0c4bc5f24e419b (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=1908c08437c335a10af4d7d748090c87ebec0e07

commit 1908c08437c335a10af4d7d748090c87ebec0e07
Author: Franck Villaume <[email protected]>
Date:   Sun Feb 16 17:54:23 2020 +0100

    fix PHP deprecated each function

diff --git a/src/www/admin/admin_table.php b/src/www/admin/admin_table.php
index 596b2e3..fe8664e 100644
--- a/src/www/admin/admin_table.php
+++ b/src/www/admin/admin_table.php
@@ -4,7 +4,7 @@
  *
  * Copyright 1999-2001 (c) VA Linux Systems
  * Copyright 2010 (c) Franck Villaume - Capgemini
- * Copyright 2012,2014 Franck Villaume - TrivialDev
+ * Copyright 2012,2014,2020 Franck Villaume - TrivialDev
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -235,7 +235,7 @@ function admin_table_postedit($table, $unit, $primary_key, 
$id) {
        $qpa = db_construct_qpa(array(), 'UPDATE ' . $table . ' SET ') ;
 
        $i = 0 ;
-       while (list($var, $val) = each($_POST)) {
+       foreach($_POST as $var => $val) {
                if ($i > 0) {
                        $qpa = db_construct_qpa($qpa, ', ') ;
                }

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

Summary of changes:
 src/www/admin/admin_table.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to