phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/class.soactor.inc.php, 1.4.2.6


From: nomail
Subject: [Phpgroupware-cvs] property/inc/class.soactor.inc.php, 1.4.2.6
Date: Fri, 26 Nov 2004 12:23:38 +0100

Update of /property/inc
Modified Files:
        Branch: proposed-0_9_18-branch
          class.soactor.inc.php

date: 2004/11/26 11:23:38;  author: sigurdne;  state: Exp;  lines: +9 -2

Log Message:
no message
=====================================================================
Index: property/inc/class.soactor.inc.php
diff -u property/inc/class.soactor.inc.php:1.4.2.5 
property/inc/class.soactor.inc.php:1.4.2.6
--- property/inc/class.soactor.inc.php:1.4.2.5  Thu Nov 18 22:12:08 2004
+++ property/inc/class.soactor.inc.php  Fri Nov 26 11:23:38 2004
@@ -420,7 +420,14 @@
                        }
 
                        $this->db->transaction_begin();
-                       $id = $this->bocommon->next_id($table);
+                       if($actor['new_actor_id'])
+                       {
+                               $id = $actor['new_actor_id'];
+                       }
+                       else
+                       {
+                               $id = $this->bocommon->next_id($table);
+                       }
 
                        $this->db->query("INSERT INTO $table 
(id,entry_date,category,member_of $cols) "
                                . "VALUES ($id,'" . time() . "','" . 
$actor['cat_id'] . "','" . $actor['member_of'] . "' $vals)");




reply via email to

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