[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17643]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [17643] |
Date: |
Fri, 19 Jan 2018 22:44:27 -0500 (EST) |
Revision: 17643
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17643
Author: nelson224
Date: 2018-01-19 22:44:26 -0500 (Fri, 19 Jan 2018)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/calendar/setup/tables_update.inc.php
Modified: branches/dev-syncromind/calendar/setup/tables_update.inc.php
===================================================================
--- branches/dev-syncromind/calendar/setup/tables_update.inc.php
2018-01-19 00:21:21 UTC (rev 17642)
+++ branches/dev-syncromind/calendar/setup/tables_update.inc.php
2018-01-20 03:44:26 UTC (rev 17643)
@@ -896,8 +896,9 @@
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_cal','category',array('type'
=> 'varchar', 'precision' => 30,'nullable' => True));
- @reset($calendar_data);
- while($calendar_data && list($cal_id,$category) =
each($calendar_data))
+ //@reset($calendar_data);
+ //while($calendar_data && list($cal_id,$category) =
each($calendar_data))
+ foreach($calendar_data as $cal_id => $category)
{
$GLOBALS['phpgw_setup']->oProc->query("UPDATE phpgw_cal
SET category='".$category."' WHERE cal_id=".$cal_id,__LINE__,__FILE__);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17643],
nelson . guerra <=