https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24001 --- Comment #6 from Chris Nighswonger <cnighswonger@foundations.edu> --- (In reply to Chris Nighswonger from comment #5)
(In reply to Jonathan Druart from comment #4)
There is no printers_profile.profile_id == 0 in DB, so I am expecting an error as well.
Is there a good reason to not display the list of available profiles on adding?
It should: http://tinyurl.com/rkfw9fx
And on further review of that code block, the profile_id should be set to 0 there.
Something else must be failing along the way. Maybe in your instance its never dropping into that else block? If that's the case, I wonder where it goes? What is $op in your instance?
Better yet, what is the value of $template_id in your instance? Maybe there is some corrupted data that the script is choking on? -- You are receiving this mail because: You are watching all bug changes.