forked from lix-project/hydra
* Shut up a harmless warning about an uninitialised variable.
This commit is contained in:
parent
9409d20f39
commit
6c35801173
|
@ -49,7 +49,7 @@ sub errors : Chained('get_builds') PathPart Args(0) {
|
||||||
sub all : Chained('get_builds') PathPart {
|
sub all : Chained('get_builds') PathPart {
|
||||||
my ($self, $c) = @_;
|
my ($self, $c) = @_;
|
||||||
|
|
||||||
my $page = int($c->req->param('page')) || 1;
|
my $page = int($c->req->param('page') || "1") || 1;
|
||||||
|
|
||||||
my $resultsPerPage = 20;
|
my $resultsPerPage = 20;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue