[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc class.soadmin_entity.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] property/inc class.soadmin_entity.inc.php |
Date: |
Wed, 19 Apr 2006 10:37:47 +0000 |
CVSROOT: /sources/phpgroupware
Module name: property
Branch:
Changes by: Sigurd Nes <address@hidden> 06/04/19 10:37:47
Modified files:
inc : class.soadmin_entity.inc.php
Log message:
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/inc/class.soadmin_entity.inc.php.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
Patches:
Index: property/inc/class.soadmin_entity.inc.php
diff -u property/inc/class.soadmin_entity.inc.php:1.18
property/inc/class.soadmin_entity.inc.php:1.19
--- property/inc/class.soadmin_entity.inc.php:1.18 Fri Mar 24 19:30:21 2006
+++ property/inc/class.soadmin_entity.inc.php Wed Apr 19 10:37:47 2006
@@ -8,7 +8,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage admin
- * @version $Id: class.soadmin_entity.inc.php,v 1.18 2006/03/24 19:30:21
sigurdne Exp $
+ * @version $Id: class.soadmin_entity.inc.php,v 1.19 2006/04/19 10:37:47
sigurdne Exp $
*/
/**
@@ -415,6 +415,8 @@
function add_category($values)
{
+ $this->db->transaction_begin();
+
$values['name'] =
$this->db->db_addslashes($values['name']);
$values['descr'] =
$this->db->db_addslashes($values['descr']);
@@ -436,9 +438,6 @@
$values_insert =
$this->bocommon->validate_db_insert($values_insert);
-
- $this->db->transaction_begin();
-
$this->db->query("INSERT INTO fm_entity_category
(entity_id,id,name,
descr,prefix,lookup_tenant,tracking,location_level,fileupload,loc_link,start_project)
"
. "VALUES ($values_insert)",__LINE__,__FILE__);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc class.soadmin_entity.inc.php,
Sigurd Nes <=