[Fusionforge-commits] r11228 - trunk/src/common/docman

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Thu Oct 28 14:19:51 CEST 2010


Author: nerville
Date: 2010-10-28 14:19:51 +0200 (Thu, 28 Oct 2010)
New Revision: 11228

Modified:
   trunk/src/common/docman/Document.class.php
Log:
reset locked_by flag on update

Modified: trunk/src/common/docman/Document.class.php
===================================================================
--- trunk/src/common/docman/Document.class.php	2010-10-28 12:15:37 UTC (rev 11227)
+++ trunk/src/common/docman/Document.class.php	2010-10-28 12:19:51 UTC (rev 11228)
@@ -565,9 +565,10 @@
 			filetype=$5,
 			filename=$6,
 			updatedate=$7,
-            locked=$8
-			WHERE group_id=$9
-			AND docid=$10',
+            locked=$8,
+            locked_by=$9
+			WHERE group_id=$10
+			AND docid=$11',
 					array (htmlspecialchars($title),
 					       htmlspecialchars($description),
 					       $stateid,
@@ -576,6 +577,7 @@
 					       $filename,
 					       time(),
                            0,
+                           NULL,
 					       $this->Group->getID(),
 					       $this->getID())) ;
 		




More information about the Fusionforge-commits mailing list