6.2.1 bugfix cycle started

This commit is contained in:
JT Smith 2004-09-06 20:12:45 +00:00
parent 9076619517
commit fd0413c746
5 changed files with 1729 additions and 537 deletions

View file

@ -1,3 +1,8 @@
6.2.1
- Fixed a GUID quoting bug in WebGUI.pm setCollateral.
6.2.0
- Added generateContent.pl script to generate content offline. This script is
not backwards compatible with previous WebGUI versions. (Thanks to

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
insert into webguiVersion values ('6.2.1','upgrade',unix_timestamp());

View file

@ -1,5 +1,5 @@
package WebGUI;
our $VERSION = "6.2.0";
our $VERSION = "6.2.1";
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2004 Plain Black Corporation.

View file

@ -1119,7 +1119,7 @@ sub setCollateral {
$_[0]->{_property}{lastEdited} = time();
$_[0]->{_property}{editedBy} = $session{user}{userId};
WebGUI::SQL->write("update wobject set lastEdited=".$_[0]->{_property}{lastEdited}
.", editedBy=".$_[0]->{_property}{editedBy}." where wobjectId=".quote($_[0]->wid));
.", editedBy=".quote($_[0]->{_property}{editedBy})." where wobjectId=".quote($_[0]->wid));
$_[0]->reorderCollateral($table,$keyName,$setName,$setValue) if ($properties->{sequenceNumber} < 0);
return $properties->{$keyName};
}