Bugzilla – Attachment 67797 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.12 KB, created by
Katrin Fischer
on 2017-10-07 13:04:14 UTC
(
hide
)
Description:
Bug 19230: Preventing warn when deleting course
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2017-10-07 13:04:14 UTC
Size:
1.12 KB
patch
obsolete
>From 762144823bdf98424f96d601ad4437db9ec3a0af 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 > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 844d157dd1..8d83a01088 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.11.0
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