Bug 23896: logaction should pass the correct interface to Koha::Logger
[koha-ffzg.git] / C4 / Log.pm
index 34e2b60..7d193e3 100644 (file)
--- a/C4/Log.pm
+++ b/C4/Log.pm
@@ -84,7 +84,7 @@ sub logaction {
 
     my $logger = Koha::Logger->get(
         {
-            interface => 'intranet',
+            interface => $interface,
             category  => "ActionLogs.$modulename.$actionname"
         }
     );