Style tweaks
This commit is contained in:
parent
453c066abf
commit
76d7e75eb8
|
@ -41,7 +41,7 @@ sub view_posts($self, $this_page, $last_page = undef, @posts) {
|
||||||
}
|
}
|
||||||
|
|
||||||
sub max_posts($self, $value = undef) {
|
sub max_posts($self, $value = undef) {
|
||||||
$self->{'max_posts'} = $value ? $value : $self->{'max_posts'}
|
$self->{'max_posts'} = $value // $self->{'max_posts'}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub get_last_page($self, @posts) {
|
sub get_last_page($self, @posts) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user