[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc class.sogab.inc.php,1.16,1.17
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] property/inc class.sogab.inc.php,1.16,1.17 |
Date: |
Tue, 30 Sep 2003 17:31:28 +0000 |
Update of /cvsroot/phpgroupware/property/inc
In directory subversions:/tmp/cvs-serv12312/inc
Modified Files:
class.sogab.inc.php
Log Message:
no message
Index: class.sogab.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/class.sogab.inc.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** class.sogab.inc.php 1 Sep 2003 19:26:54 -0000 1.16
--- class.sogab.inc.php 30 Sep 2003 17:31:25 -0000 1.17
***************
*** 333,349 ****
$location = explode('-',
$gab_insert[$i]['location_code']);
! for ($j=0;$j<count($location);$j++)
{
! $cols_insert[] = 'loc' . ($j+1);
! $vals_insert[] = $location[$j];
}
- unset($location);
-
if($cols)
{
! $cols = "," . implode(",",
$cols_insert);
! $vals = ",'" . implode("','",
$vals_insert) . "'";
}
--- 333,353 ----
$location = explode('-',
$gab_insert[$i]['location_code']);
! while (is_array($location) &&
list($input_name,$value) = each($location))
{
! if($value)
! {
! $cols[] = 'loc' .
($input_name+1);
! $vals[] = $value;
! }
}
if($cols)
{
! $cols = "," . implode(",", $cols);
! $vals = ",'" . implode("','", $vals)
. "'";
}
+
+ unset($location);
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc class.sogab.inc.php,1.16,1.17,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] property/templates/default wo_hour.xsl, 1.16, 1.17
- Next by Date:
[Phpgroupware-cvs] property/inc class.soequipment.inc.php, 1.28, 1.29 class.uiequipment.inc.php, 1.33, 1.34 class.boequipment.inc.php, 1.16, 1.17
- Previous by thread:
[Phpgroupware-cvs] property/templates/default wo_hour.xsl, 1.16, 1.17
- Next by thread:
[Phpgroupware-cvs] property/inc class.soequipment.inc.php, 1.28, 1.29 class.uiequipment.inc.php, 1.33, 1.34 class.boequipment.inc.php, 1.16, 1.17
- Index(es):