Bug 21011: (follow-up) Fix pod, fix missing homebranch condition, change mode to executable
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 5892ab0711)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
b5b74454cd
commit
5ec194dfa9
|
|
@ -25,7 +25,7 @@ use Koha::Items;
|
|||
while ( my $item = $items->next ) {
|
||||
if ( not $item->homebranch and not $item->holdingbranch ) {
|
||||
new_item(sprintf "Item with itemnumber=%s does not have homebranch and holdingbranch defined", $item->itemnumber);
|
||||
} elsif ( $item->homebranch ) {
|
||||
} elsif ( not $item->homebranch ) {
|
||||
new_item(sprintf "Item with itemnumber=%s does not have homebranch defined", $item->itemnumber);
|
||||
} else {
|
||||
new_item(sprintf "Item with itemnumber=%s does not have holdingbranch defined", $item->itemnumber);
|
||||
|
|
@ -62,6 +62,4 @@ Catch data inconsistencies in Koha database
|
|||
|
||||
* Items with not defined homebranch and/or holdingbranch
|
||||
|
||||
=back
|
||||
|
||||
=cut
|
||||
|
|
|
|||
Loading…
Reference in New Issue