Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 9434
Status: resolved
Priority: 0/
Queue: Maypole

People
Owner: Nobody in particular
Requestors: dhoworth [...] mrc-lmb.cam.ac.uk
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.06
Fixed in: (no value)



Subject: maypole model cdbi search generates warnings
Hi Simon, There's a line in M-M-CDBI->search() that looks like this: grep { length ($params{$_}) and $fields{$_} } keys %params; It generates warnings: Use of uninitialized value in length at /usr/local/share/perl/5.6.1/Maypole/Model/CDBI.pm when some search keys are empty. It should look like this: grep { defined $params{$_} and length ($params{$_}) and $fields{$_} } keys %params; Cheers, Dave
Applied. Thanks Simon