projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add changes to the installation manual for Windows users from K1XX
[spider.git]
/
cmd
/
set
/
page.pl
diff --git
a/cmd/set/page.pl
b/cmd/set/page.pl
index cb997c93059a7fe4c7d94ea25bea0062cf9a93c9..6b5097593de42b8ac448b6144cf13a6c5f3f8bd8 100644
(file)
--- a/
cmd/set/page.pl
+++ b/
cmd/set/page.pl
@@
-7,8
+7,7
@@
#
my $self = shift;
my $l = shift;
-$l = 20 if $l == 0;
-$l = 10 if $l < 10;
+$l = 10 if $l < 10 && $l > 0;
$self->pagelth($l);
$self->user->pagelth($l);
return (1, $self->msg('pagelth', $l));