View | Details | Raw Unified | Return to bug 6679
Collapse All | Expand All

(-)a/opac/ilsdi.pl (-6 / +4 lines)
Lines 17-31 Link Here
17
# with Koha; if not, write to the Free Software Foundation, Inc.,
17
# with Koha; if not, write to the Free Software Foundation, Inc.,
18
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
19
20
use strict;
20
use Modern::Perl;
21
use warnings;
22
23
use List::MoreUtils qw(any);
24
21
25
use C4::ILSDI::Services;
22
use C4::ILSDI::Services;
26
use C4::Auth;
23
use C4::Auth;
27
use C4::Output;
24
use C4::Output;
28
use C4::Context;
25
use C4::Context;
26
27
use List::MoreUtils qw(any);
29
use XML::Simple;
28
use XML::Simple;
30
use CGI;
29
use CGI;
31
30
Lines 214-220 if ( $service and any { $service eq $_ } @services ) { Link Here
214
213
215
            # Variable functions
214
            # Variable functions
216
            my $sub = do {
215
            my $sub = do {
217
                no strict 'refs';
216
#                no strict 'refs';
218
                my $symbol = 'C4::ILSDI::Services::' . $service;
217
                my $symbol = 'C4::ILSDI::Services::' . $service;
219
                \&{"$symbol"};
218
                \&{"$symbol"};
220
            };
219
            };
221
- 

Return to bug 6679