https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41237

Marcel de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA
                 CC|                            |[email protected]

--- Comment #7 from Marcel de Rooy <[email protected]> ---
Somehow this change is confusing.
Shouldnt we just check if we had a value in $params->{branchcode} instead of
looking up a patron while we could simply pass him from the script.

If there was no value in $params->{branchcode}, you should not look for undef.
So
-                library_id => $params->{branchcode},
This should be something like
+                $params->{branchcode} ? ( library_id => $params->{branchcode}
) : (),

Am I missing something?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to