Use string 'spam' as true boolean for readability
This commit is contained in:
parent
f8502c762f
commit
cc622dbdf1
|
@ -130,7 +130,7 @@ group {
|
|||
my $this_page = $c->param('number');
|
||||
my $last_page = $base_path eq '/view'
|
||||
? $c->message->get_last_page()
|
||||
: $c->message->get_last_page(1);
|
||||
: $c->message->get_last_page('spam');
|
||||
my $view_posts = $base_path eq '/view'
|
||||
? $c->message->get_posts($this_page)
|
||||
: $c->message->get_spam($this_page);
|
||||
|
|
Loading…
Reference in a new issue