PDA

View Full Version : Re: Re: Re: Importing albumswithaccentedcharacters



cjk32
2006-07-05, 09:40
Dan Sully wrote:
> * Christopher Key shaped the electrons to say...
>
>> Ok, maybe I'm still missing something. It just seems a bit strange
>> to attempt to match discc if a user has set discc = 2,3,4 etc. but to
>> search for 'disc is NULL AND discc is NULL' if the user has set
>> discc =
>> 1. Likewise, it seemed a bit strange to search for 'disc is NULL AND
>> discc is NULL' if discc hadn't been set, regardless of what the user
>> has set for disc.
>
> It's not.. the search for discc is NULL is only set if there is no
> disc or discc.
>
> $search->{'disc'} = undef if !defined $disc; $search->{'discc'} =
> undef if !defined $disc && !defined $discc;
>

I must still be missing something, but not to worry.

Chris