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.7


From: nomail
Subject: [Phpgroupware-cvs] property/inc/class.sogab.inc.php, 1.7
Date: Thu, 14 Oct 2004 12:24:48 +0200

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

date: 2004/10/14 10:24:48;  author: sigurdne;  state: Exp;  lines: +3 -3

Log Message:
no message
=====================================================================
Index: property/inc/class.sogab.inc.php
diff -u property/inc/class.sogab.inc.php:1.6 
property/inc/class.sogab.inc.php:1.7
--- property/inc/class.sogab.inc.php:1.6        Thu Oct 14 09:44:32 2004
+++ property/inc/class.sogab.inc.php    Thu Oct 14 10:24:48 2004
@@ -424,11 +424,11 @@
                        for ($i=0;$i<count($gab_update);$i++)
                        {
                                $this->db->query("UPDATE fm_gab_location set
-                                       gab_id                  ='" . 
$gab_insert[$i]['gab_id'] . "',
-                                       remark                  ='" . 
$gab_insert[$i]['remark'] . "',
+                                       remark                  ='" . 
$gab_update[$i]['remark'] . "',
+                                       owner                   ='" . 
$gab_update[$i]['owner'] . "',
                                        entry_date              ='"     . 
time() . "',
                                        user_id                 ='" . 
$this->account
-                                       . "' WHERE location_code = '" . 
$gab_insert[$i]['location_code'] ."'",__LINE__,__FILE__);
+                                       . "' WHERE location_code = '" . 
$gab_update[$i]['location_code'] ."' AND gab_id= '" . $gab_update[$i]['gab_id'] 
. "'",__LINE__,__FILE__);
 
                                        $receipt['message'][] = 
array('msg'=>lang('at location %1',$gab_update[$i]['location_code']));
                        }




reply via email to

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