phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc class.soproject.inc.php,1.11


From: sigurdne
Subject: [Phpgroupware-cvs] property/inc class.soproject.inc.php,1.11
Date: Thu, 24 Feb 2005 15:08:12 -0000

Update of property/inc

Modified Files:
     Branch: MAIN
            class.soproject.inc.php lines: +5 -2

Log Message:
no message

====================================================
Index: property/inc/class.soproject.inc.php
diff -u property/inc/class.soproject.inc.php:1.10 
property/inc/class.soproject.inc.php:1.11
--- property/inc/class.soproject.inc.php:1.10   Sat Jan 29 18:40:26 2005
+++ property/inc/class.soproject.inc.php        Mon Jan 31 12:47:55 2005
@@ -602,9 +602,12 @@
                        }
                        else
                        {
+                               $id = $this->bocommon->next_id($meter_table);
+
                                $meter_id       = 
$this->generate_meter_id($meter_table);
-                               $this->db->query("insert into $meter_table 
(num,ext_meter_id,category,location_code,entry_date,user_id,address $cols) "
+                               $this->db->query("insert into $meter_table 
(id,num,ext_meter_id,category,location_code,entry_date,user_id,address $cols) "
                                        . "VALUES ('"
+                                       . $id. "','"
                                        . $meter_id. "','"
                                        . $power_meter. "',"
                                        . "1,'"






reply via email to

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