- fix [ 1173544 ] Rating increases view count [mwilson]
This commit is contained in:
parent
b095533e74
commit
f7a1f3df7b
1 changed files with 1 additions and 1 deletions
|
|
@ -580,7 +580,7 @@ sub unsubscribe {
|
|||
sub view {
|
||||
my $self = shift;
|
||||
$self->markRead;
|
||||
$self->incrementViews;
|
||||
$self->incrementViews unless ($session{form}{func} eq 'rate');
|
||||
WebGUI::Session::setScratch("discussionLayout",$session{form}{layout});
|
||||
my $var = $self->getTemplateVars;
|
||||
$self->getParent->appendTemplateLabels($var);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue