Hi, On Thu, Sep 4, 2008 at 4:16 PM, Ryan Higgins <[EMAIL PROTECTED]> wrote: > +# get reserves for the branch we are logged into > [EMAIL PROTECTED] = GetReservesForBranch($default);
If the operator is not logged in to a specific branch, $default will be 'NO_LIBRARY_SET', and @getreserves will be empty. That's arguably OK (the alternative would be to display the waiting holds for all libraries if the operator isn't logged into a specific branch), but it that's the desired behavior, it shouldn't happen by accident - that circumstance should be checked explicitly and the script should display a message asking the operator to log into a branch first. Regards, Galen -- Galen Charlton VP, Research & Development, LibLime [EMAIL PROTECTED] p: 1-888-564-2457 x709 skype: gmcharlt _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
