fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17573]


From: nelson . guerra
Subject: [Fmsystem-commits] [17573]
Date: Fri, 12 Jan 2018 23:06:41 -0500 (EST)

Revision: 17573
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17573
Author:   nelson224
Date:     2018-01-12 23:06:41 -0500 (Fri, 12 Jan 2018)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/registration/inc/class.boreg.inc.php

Modified: branches/dev-syncromind/registration/inc/class.boreg.inc.php
===================================================================
--- branches/dev-syncromind/registration/inc/class.boreg.inc.php        
2018-01-13 04:06:25 UTC (rev 17572)
+++ branches/dev-syncromind/registration/inc/class.boreg.inc.php        
2018-01-13 04:06:41 UTC (rev 17573)
@@ -234,13 +234,17 @@
                                {
                                        if ($post_value)
                                        {
-                                               while (list (, $value) = 
each($values))
-                                               {
+                                               //while (list (, $value) = 
each($values))
+                                                if (is_array($values))
+                                                {
+                                                    foreach ($values as $key 
=> $value)
+                                                    {
                                                        if ($value == 
$post_value)
                                                        {
                                                                $ok = 1;
                                                        }
-                                               }
+                                                    }
+                                                }
 
                                                if (!$ok)
                                                {




reply via email to

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