http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6009 Bug #: 6009 Summary: An error is returned if a suggestion is linked to a deleted or invalid budget. Classification: Unclassified Change sponsored?: --- Product: Koha Version: rel_3_2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: Acquisitions AssignedTo: henridamien@koha-fr.org ReportedBy: fcapovilla@live.ca QAContact: koha-bugs@lists.koha-community.org Created attachment 3533 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3533 Corrects an error when showing a suggestion linked to a deleted budget. If a suggestion is linked to a budget and this budget is then deleted, an error is returned the next time we try to get to the /suggestion/suggestion.pl page : Can't use an undefined value as a HASH reference at /home/koha/kohagit/suggestion/suggestion.pl line 175. This happens because we try to get the hash value budget_name on a budget that doesn't exist (GetBudget returns undef). Patch attached that checks if the budget exist before trying to get its name. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.