https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17855

--- Comment #177 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
*
+        template_name => "/onboarding/onboardingstep"
+          . ( $step ? $step : 1 ) . ".tt",

Do a check on $step to make sure it is an integer, just in case...

*
+        #Adds a new patron category to the database
+        $category = Koha::Patron::Category->new(
+            {
[SNIP]
+                enrolmentperioddate   => $enrolmentperioddate,

$enrolmentperioddate is a date in iso format, I think you should be able to
give a DateTime object (return by dt_from_string) directly.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to