X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=course_reserves%2Fcourse-details.pl;h=af1eb62337a906dd4a1cde8322a10dc6fbffd909;hb=4f3067184d7dd3666d404a2165d72755cb0b227d;hp=b82df5b2de15715e327e5c2f9aac45c6a9732caa;hpb=e20270fec4f6d34f01050bea4c5765d5b3c4ed33;p=koha.git diff --git a/course_reserves/course-details.pl b/course_reserves/course-details.pl index b82df5b2de..af1eb62337 100755 --- a/course_reserves/course-details.pl +++ b/course_reserves/course-details.pl @@ -5,18 +5,18 @@ # # This file is part of Koha. # -# Koha is free software; you can redistribute it and/or modify it under the -# terms of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. # -# Koha is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along -# with Koha; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . use Modern::Perl; @@ -47,7 +47,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( ); if ( $action eq 'del_reserve' ) { - DelCourseReserve( cr_id => $cgi->param('cr_id') ); + DelCourseReserve( cr_id => scalar $cgi->param('cr_id') ); } my $course = GetCourse($course_id);