Fix number of arguments on _verifyId in prototype.
This commit is contained in:
parent
b34de3c1da
commit
bf4d5d8b23
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ Returns: scalar boolean, which is true iff. the $id is valid and already in the
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
|
||||||
sub _verifyId($) {
|
sub _verifyId($$) {
|
||||||
my($self, $id) = @_;
|
my($self, $id) = @_;
|
||||||
|
|
||||||
die "_verifyId() called with a non-numeric id" unless defined $id and looks_like_number($id);
|
die "_verifyId() called with a non-numeric id" unless defined $id and looks_like_number($id);
|
||||||
|
|
Loading…
Reference in a new issue