fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17641]


From: nelson . guerra
Subject: [Fmsystem-commits] [17641]
Date: Thu, 18 Jan 2018 19:21:06 -0500 (EST)

Revision: 17641
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17641
Author:   nelson224
Date:     2018-01-18 19:21:06 -0500 (Thu, 18 Jan 2018)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/calendar/inc/class.html.inc.php

Modified: branches/dev-syncromind/calendar/inc/class.html.inc.php
===================================================================
--- branches/dev-syncromind/calendar/inc/class.html.inc.php     2018-01-19 
00:20:49 UTC (rev 17640)
+++ branches/dev-syncromind/calendar/inc/class.html.inc.php     2018-01-19 
00:21:06 UTC (rev 17641)
@@ -378,10 +378,18 @@
                        $names   = explode(',',$names);
                }
 
-               while (list($n,$val) = each($options))
+               //while (list($n,$val) = each($options))
+                if (is_array($options))
+                {
+                    foreach($options as $n => $val)
+                    {
                        if ($val != '' && $names[$n] != '')
+                        {
                                $html .= ' '.$names[$n].'="'.$val.'"';
-
+                        }
+                    }
+                }
+                
                return $html;
        }
 




reply via email to

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