fixed [ 935552 ] USS bug (w/ and w/o img mixed posts).
This commit is contained in:
parent
925de26f97
commit
a850033b92
2 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
5.5.7
|
||||
- bugfix [ 935552 ] USS bug (w/ and w/o img mixed posts).
|
||||
|
||||
|
||||
5.5.6
|
||||
- bugfix [ 895067 ] Forum ID Missing In USS
|
||||
- bugfix [ 909688 ] USS forum post edit function not work
|
||||
|
|
|
|||
|
|
@ -677,7 +677,7 @@ sub www_view {
|
|||
where USS_id=".$_[0]->get("USS_Id")." and $constraints order by ".$_[0]->getValue("sortBy")." ".$_[0]->getValue("sortOrder"));
|
||||
$page = $p->getPageData;
|
||||
$i = 0;
|
||||
my $imageURL;
|
||||
my $imageURL = "";
|
||||
foreach $row (@$page) {
|
||||
$page->[$i]->{content} = WebGUI::HTML::filter($page->[$i]->{content},$_[0]->get("filterContent"));
|
||||
$page->[$i]->{content} =~ s/\n/\^\-\;/ unless ($page->[$i]->{content} =~ m/\^\-\;/);
|
||||
|
|
@ -689,7 +689,7 @@ sub www_view {
|
|||
$imageURL = $image->getURL;
|
||||
} else {
|
||||
$thumbnail = "";
|
||||
$imageURL;
|
||||
$imageURL = "";
|
||||
}
|
||||
($responses) = WebGUI::SQL->quickArray("select count(*) from forumPost left join forumThread on
|
||||
forumThread.forumThreadId=forumPost.forumThreadId where forumThread.forumId=".$row->{forumId});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue