https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40680
David Cook <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from David Cook <[email protected]> --- This is an interesting one. Take this warning: Attempt to call undefined import method with arguments ("get_session") via package "C4::Auth" (Perhaps you forgot to load the package?) at /kohadevbox/koha/C4/Search/History.pm line 5. Line 5 is the following: use C4::Auth qw( get_session ); At a glance, that's not the same as 'Class::That::Does::Not::Exist->import("foo");' If we look at C4/Auth.pm, we'll see that we set up Exporter similar to how the documentation suggests on the Exporter documentation page. That said... it could be worthwhile looking at https://perldoc.perl.org/Exporter#Playing-Safe -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
