fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17561]


From: nelson . guerra
Subject: [Fmsystem-commits] [17561]
Date: Thu, 11 Jan 2018 22:55:02 -0500 (EST)

Revision: 17561
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17561
Author:   nelson224
Date:     2018-01-11 22:55:02 -0500 (Thu, 11 Jan 2018)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uis_agreement.inc.php

Modified: branches/dev-syncromind/property/inc/class.uis_agreement.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uis_agreement.inc.php    
2018-01-12 03:54:44 UTC (rev 17560)
+++ branches/dev-syncromind/property/inc/class.uis_agreement.inc.php    
2018-01-12 03:55:02 UTC (rev 17561)
@@ -618,13 +618,16 @@
                                        
$insert_record['extra'][$insert_record_s_agreement[$j]] = 
$insert_record_s_agreement[$j];
                                }
 
-                               while (is_array($insert_record['extra']) && 
list($key, $column) = each($insert_record['extra']))
-                               {
+                                if (is_array($insert_record['extra']))
+                                {
+                                    foreach($insert_record['extra'] as $key => 
$column)
+                                    {
                                        if ($_POST[$key])
                                        {
                                                $values['extra'][$column] = 
phpgw::get_var($key, 'string', 'POST');
                                        }
-                               }
+                                    }
+                                }
 
                                if (!$values['cat_id'])
                                {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]