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, 'ILSDI', 'ILSDI', undef, |
134 |
undef, undef, undef, undef, undef |
135 |
); |
136 |
C4::Context->interface('opac'); |
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 |
- |
|
|