From: <sy...@us...> - 2006-05-25 14:22:32
|
Update of /cvsroot/tikiwiki/tiki/lib/sheet In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv22916/lib/sheet Modified Files: grid.php Log Message: the user in history and in the database on a cell was lost for the user changing the cell Index: grid.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/sheet/grid.php,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- grid.php 16 May 2006 09:39:02 -0000 1.34 +++ grid.php 25 May 2006 14:22:23 -0000 1.35 @@ -1234,7 +1234,6 @@ $inserts = array(); $updates = array(); $updates[] = $stamp; - $updates[] = $user; $updates[] = $this->sheetId; // Update the database {{{3 @@ -1272,7 +1271,7 @@ } } - $tikilib->query( "UPDATE `tiki_sheet_values` SET `end` = ? , `user`= ? WHERE `sheetId` = ? AND `end` IS NULL AND ( {$conditions}`rowIndex` >= ? OR `columnIndex` >= ? )", $updates ); + $tikilib->query( "UPDATE `tiki_sheet_values` SET `end` = ? WHERE `sheetId` = ? AND `end` IS NULL AND ( {$conditions}`rowIndex` >= ? OR `columnIndex` >= ? )", $updates ); if( sizeof( $inserts ) > 0 ) foreach( $inserts as $values ) |