fixed - fix [ 1276625 ] viewRSS not working (Andrew Khmelev)

- fix [ 1276695 ] Addition to 'viewRSS not working' (6.7.2) (Andrew Khmelev)
 - Fixed a layout problem with the user search form.
 - fix [ 1250418 ] unable to edit posts more than once
This commit is contained in:
JT Smith 2005-08-31 12:56:38 +00:00
parent 04a76e9910
commit 97161c798e
6 changed files with 32 additions and 37 deletions

View file

@ -983,7 +983,7 @@ sub www_edit {
value=>"edit"
})
.WebGUI::Form::hidden({
name=>"userId",
name=>"ownerUserId",
value=>$self->getValue("ownerUserId")
})
.WebGUI::Form::hidden({

View file

@ -1141,13 +1141,13 @@ sub www_viewRSS {
group by assetData.assetId
order by ".$self->getValue("sortBy")." ".$self->getValue("sortOrder"));
my $i = 1;
while (my ($id, $class, $version) = $sth->hashRef) {
while (my ($id, $class, $version) = $sth->array) {
my $post = WebGUI::Asset::Wobject::Collaboration->new($id, $class, $version);
my $encUrl = _xml_encode(WebGUI::URL::getSiteURL().$post->getUrl);
my $encTitle = _xml_encode($post->get("title"));
my $encPubDate = _xml_encode(_get_rfc822_date($post->get("dateUpdated")));
my $encDescription = _xml_encode($self->get("synopsis"));
my $encDescription = _xml_encode($post->get("synopsis"));
$xml .= qq~
<item>
<title>$encTitle</title>