Bugzilla – Attachment 66678 Details for
Bug 19230
Warn when deleting a course in course reserves
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19230: Preventing warn when deleting course
Bug-19230-Preventing-warn-when-deleting-course.patch (text/plain), 1.05 KB, created by
Aleisha Amohia
on 2017-08-31 21:49:20 UTC
(
hide
)
Description:
Bug 19230: Preventing warn when deleting course
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2017-08-31 21:49:20 UTC
Size:
1.05 KB
patch
obsolete
>From 2c06e54f0d52b69bce4c9258e2bb681387e8491c Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Thu, 31 Aug 2017 21:48:24 +0000 >Subject: [PATCH] Bug 19230: Preventing warn when deleting course > >To test: >1) Ensure UseCourseReserves is enabled >2) Go to Course Reserves, create a course >3) Delete course >4) Notice warn >5) Apply patch >6) Create a course again and delete it >7) Notice no warn > >Sponsored-by: Catalyst IT >--- > course_reserves/mod_course.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/course_reserves/mod_course.pl b/course_reserves/mod_course.pl >index 844d157..8d83a01 100755 >--- a/course_reserves/mod_course.pl >+++ b/course_reserves/mod_course.pl >@@ -40,7 +40,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > my $action = $cgi->param('action') || ''; > > if ( $action eq 'del' ) { >- DelCourse( $cgi->param('course_id') ); >+ DelCourse( scalar $cgi->param('course_id') ); > print $cgi->redirect("/cgi-bin/koha/course_reserves/course-reserves.pl"); > } else { > my %params; >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19230
:
66678
|
67797
|
69946
|
69985
|
70780
|
70933
|
71067