projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 21817: Centralize the mock of userenv from tests
[koha.git]
/
Koha
/
ClassSplitRule.pm
diff --git
a/Koha/ClassSplitRule.pm
b/Koha/ClassSplitRule.pm
index
0505120
..
72f4673
100644
(file)
--- a/
Koha/ClassSplitRule.pm
+++ b/
Koha/ClassSplitRule.pm
@@
-64,7
+64,7
@@
sub regexs {
my ( $self, $regexs ) = @_;
return $regexs
? $self->split_regex( to_json($regexs) )
- : from_json( $self->split_regex );
+ : from_json( $self->split_regex
|| '[]'
);
}
=head3 type