[Koha-patches] [PATCH] [followup] (bug #3149) fix searchorder

Joe Atzberger joe.atzberger at liblime.com
Tue May 19 16:51:39 CEST 2009


On Tue, May 19, 2009 at 5:53 AM, Nahuel ANGELINETTI <
nahuel.angelinetti at biblibre.com> wrote:

> +    if( $biblionumber and $biblionumber ne "" ){


This test is the same as:
if ($biblionumber) {

Because when $biblionumber is the empty string, the first half of the
conditional will already have evaluated FALSE, so the second half will not
be evalutated.

-- 
Joe Atzberger
LibLime - Open Source Library Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20090519/683318e3/attachment-0002.htm>


More information about the Koha-patches mailing list