Bug 18936: (follow-up) Add foreign key and scope enhancement to circ rules
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 24 Jan 2020 13:54:45 +0000 (14:54 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 4 Feb 2020 09:56:28 +0000 (09:56 +0000)
commit533fd217dfa941795c146ca8127ab7a7cc2d226e
tree1bcb2de6e395c63aafec1c90fb39e2ee79edb9cb
parent2879fb27f00d8a80e03d2b0c55f4a1fe24de9b0b
Bug 18936: (follow-up) Add foreign key and scope enhancement to circ rules

The previous patch modifies:
-                categorycode => undef,
-                itemtype     => undef,
-                branchcode   => $branch,
+                branchcode   => undef,

But in that condition $branchcode is not '*' and so we should not set it
to undef

Signed-off-by: Minna Kivinen <minna.kivinen@hamk.fi>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
admin/smart-rules.pl