• Marc Véron's avatar
    Bug 14143 - Patron cards: Crash (confusion between table names... · 6b5c632d
    Marc Véron authored
    Bug 14143 - Patron cards: Crash (confusion between table names creator_templates and club_template_enrollment_fields)
    
    To reproduce:
    Go to Home > Tools > Patron card creator
    Click on 'Manage profiles'
    Result:
    Can't use string ("1") as an ARRAY ref while "strict refs" in use at /usr/share/kohaclone/C4/Creators/Lib.pm line 564.
    
    Reason:
    Select statment to get field 'template code' from table 'club_template_enrollment_fields' (!) instead of 'table creator_templates'.
    
    To test:
    Apply patch
    Try to reproduce issue.
    
    Amended because of typo (_ instead of -)
    Signed-off-by: 's avatarKyle M Hall <kyle@bywatersolutions.com>
    6b5c632d
Name
Last commit
Last update
..
Batch.pm Loading commit data...
Layout.pm Loading commit data...
Lib.pm Loading commit data...
PDF.pm Loading commit data...
Profile.pm Loading commit data...
Template.pm Loading commit data...