[Koha-bugs] [Bug 24001] Cannot edit card template

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 11 16:36:10 CET 2020


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

Rinrada Wongsaichua <hlunlin93 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |hlunlin93 at gmail.com
             Status|Failed QA                   |RESOLVED

--- Comment #28 from Rinrada Wongsaichua <hlunlin93 at gmail.com> ---
Error when saving Patron card Template: 
Can't bless non-reference value at
/home/vagrant/kohaclone/C4/Creators/Profile.pm line 89

Can be fixed by add this one line into
/usr/share/koha/intranet/cgi-bin/patroncards/edit-template.pl

52    $profile_list = get_all_profiles({ fields => [ qw( profile_id
printer_name paper_bin ) ], filters => {template_id => [ $template_id, '' ]} }
);
+++   push @$profile_list, {paper_bin => 'N/A', profile_id => 0, printer_name
=> 'No Profile'};

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list