fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17564]


From: nelson . guerra
Subject: [Fmsystem-commits] [17564]
Date: Thu, 11 Jan 2018 23:12:34 -0500 (EST)

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


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

Modified: branches/dev-syncromind/property/inc/class.boevent.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.boevent.inc.php  2018-01-12 
04:12:01 UTC (rev 17563)
+++ branches/dev-syncromind/property/inc/class.boevent.inc.php  2018-01-12 
04:12:34 UTC (rev 17564)
@@ -1031,11 +1031,12 @@
                        $event['start']['mday'] = date('d', 
$event['start_date']);
                        $event['start']['year'] = date('Y', 
$event['start_date']);
 
-                       if (isset($event['repeat_exception']))
+                       if (is_array($event['repeat_exception']) && $inserted 
== false)
                        {
                                //$event_time = 
mktime($event['start']['hour'],$event['start']['min'],0,intval(substr($date,4,2)),intval(substr($date,6,2)),intval(substr($date,0,4)))
 - phpgwapi_datetime::user_timezone();
                                $event_time = mktime($event['start']['hour'], 
$event['start']['min'], 0, intval(substr($date, 4, 2)), intval(substr($date, 6, 
2)), intval(substr($date, 0, 4)));
-                               while ($inserted == false && list($key, 
$exception_time) = each($event['repeat_exception']))
+                                //while ($inserted == false && list($key, 
$exception_time) = each($event['repeat_exception']))                            
           
+                                foreach($event['repeat_exception'] as $key => 
$exception_time)
                                {
                                        if ($this->debug)
                                        {




reply via email to

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