[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] ged/inc class.ged_dm.inc.php
From: |
Pascal Vilarem |
Subject: |
[Phpgroupware-cvs] ged/inc class.ged_dm.inc.php |
Date: |
Fri, 03 Aug 2007 09:39:17 +0000 |
CVSROOT: /sources/phpgroupware
Module name: ged
Changes by: Pascal Vilarem <maat> 07/08/03 09:39:17
Modified files:
inc : class.ged_dm.inc.php
Log message:
fixed : added update of ged_types_places when changing a type_id
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ged/inc/class.ged_dm.inc.php?cvsroot=phpgroupware&r1=1.41&r2=1.42
Patches:
Index: class.ged_dm.inc.php
===================================================================
RCS file: /sources/phpgroupware/ged/inc/class.ged_dm.inc.php,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- class.ged_dm.inc.php 2 Aug 2007 21:48:56 -0000 1.41
+++ class.ged_dm.inc.php 3 Aug 2007 09:39:17 -0000 1.42
@@ -3108,6 +3108,14 @@
$this->db-> query($sql2, __LINE__, __FILE__);
$this->db->unlock();
+
+ $sql3="UPDATE ged_types_places set
type_id='".$doc_type['type_id']."' ";
+ $sql3.="WHERE type_id='".$old_type_id."'";
+
+ $this->db-> query($sql3, __LINE__, __FILE__);
+ $this->db->unlock();
+
+
}
}
- [Phpgroupware-cvs] ged/inc class.ged_dm.inc.php,
Pascal Vilarem <=