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

(-)a/opac/ilsdi.pl (-1 / +8 lines)
Lines 127-132 unless ( $cgi->param('service') ) { Link Here
127
    exit 0;
127
    exit 0;
128
}
128
}
129
129
130
# Set the userenv
131
C4::Context->_new_userenv(1);
132
C4::Context->set_userenv(
133
    undef, undef, undef, 'CRON', 'CRON', undef,
134
    undef, undef, undef, undef,  undef
135
);
136
C4::Context->interface('opac'); #FIXME 'ilsdi' should be a valid value?
137
130
# If user requested a service description, then display it
138
# If user requested a service description, then display it
131
if ( scalar $cgi->param('service') eq "Describe" and any { scalar $cgi->param('verb') eq $_ } @services ) {
139
if ( scalar $cgi->param('service') eq "Describe" and any { scalar $cgi->param('verb') eq $_ } @services ) {
132
    my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
140
    my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
133
- 

Return to bug 24754