* 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;
-D
--
"It has become appallingly obvious that our technology has exceeded our
humanity." - Albert Einstein
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta