phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/class.sogab.inc.php, 1.6


From: nomail
Subject: [Phpgroupware-cvs] property/inc/class.sogab.inc.php, 1.6
Date: Thu, 14 Oct 2004 11:44:32 +0200

Update of /property/inc
Modified Files:
        Branch: 
          class.sogab.inc.php

date: 2004/10/14 09:44:32;  author: sigurdne;  state: Exp;  lines: +13 -9

Log Message:
no message
=====================================================================
Index: property/inc/class.sogab.inc.php
diff -u property/inc/class.sogab.inc.php:1.5 
property/inc/class.sogab.inc.php:1.6
--- property/inc/class.sogab.inc.php:1.5        Tue Oct 12 13:51:41 2004
+++ property/inc/class.sogab.inc.php    Thu Oct 14 09:44:32 2004
@@ -369,21 +369,17 @@
                                {
                                        if($value)
                                        {
-                                               $cols[] = 'loc' . 
($input_name+1);
-                                               $vals[] = $value;
+                                               $col[] = 'loc' . 
($input_name+1);
+                                               $val[] = $value;
                                        }
                                }
 
-                               if($cols)
+                               if($col)
                                {
-                                       $cols   = "," . implode(",", $cols);
-                                       $vals   = ",'" . implode("','", $vals) 
. "'";
+                                       $cols   = "," . implode(",", $col);
+                                       $vals   = ",'" . implode("','", $val) . 
"'";
                                }
 
-                               unset($location);
-
-
-
                                if($gab_insert[$i]['street_name'])
                                {
                                        $address[]= 
$gab_insert[$i]['street_name'];
@@ -407,6 +403,14 @@
                                        . $address . "' $vals 
)",__LINE__,__FILE__);
 
                                        $receipt['message'][] = 
array('msg'=>lang('at location %1',$gab_insert[$i]['location_code']));
+
+                               unset($location);
+                               unset($col);
+                               unset($val);
+                               unset($cols);
+                               unset($vals);
+                               unset($address);
+
                        }
 
 




reply via email to

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