fixed [ 1306912 ] CMS Matrix - Unable to approve article's

This commit is contained in:
JT Smith 2005-10-13 19:04:05 +00:00
parent e4c2bc9969
commit 7576dbfa78
6 changed files with 22 additions and 9 deletions

View file

@ -88,7 +88,7 @@ sub page {
return _setup() if ($session{setting}{specialState} eq "init");
my $output = _processOperations();
if ($output eq "") {
my $asset = WebGUI::Asset->newByUrl($assetUrl);
my $asset = WebGUI::Asset->newByUrl($assetUrl,$session{form}{revision});
if (defined $asset) {
$session{asset} = $asset;
my $method = "view";