parameters are passed if they are present.
As a special case for suboptimal SOAP implementations, if only one
-argument is passed to get_status and it is an arrayref which either
-has a number as the first element or also contains an arrayref as the
-first element, the outer arrayref is dereferenced, and processed as
-in the examples above.
+argument is passed to get_status and it is an arrayref which either is
+empty, has a number as the first element, or contains an arrayref as
+the first element, the outer arrayref is dereferenced, and processed
+as in the examples above.
See L<Debbugs::Status::get_bug_status> for details.
if (@bugs == 1 and
ref($bugs[0]) and
- @{$bugs[0]} and
- (ref($bugs[0][0]) or
+ @{$bugs[0]} <= 1 and
+ (@{$bugs[0]} == 0 or
+ ref($bugs[0][0]) or
looks_like_number($bugs[0][0])
)
) {
type => 'str',
},
subject => {name => 'Bug Title',
- type => 'num',
+ type => 'str',
},
date => {name => 'Submission date',
type => 'num',
--- /dev/null
+var/lib/debbugs/www/*
+var/lib/debbugs/www/cgi/*
+etc/debbugs/html
\ No newline at end of file
--- /dev/null
+usr/lib/debbugs
+usr/share/man/man8
+usr/sbin
+usr/share/doc/debbugs/examples
+var/lib/debbugs
\ No newline at end of file
--- /dev/null
+usr/share/man/man3
+usr/share/perl5
+#etc/debbugs/config
"Content-Type" => 'text/plain; charset="utf-8"',
],<<END ,[join("\n",@msg)]),'',undef,1);
This is an automatic notification regarding your $gBug report
-#$ref: $data->{subject},
-which was filed against the $data->{package} package.
+which was filed against the $data->{package} package:
+
+#$ref: $data->{subject}
It has been closed by $markedby.