Bug 32426: Changes for opac-memberentry
[srvgit] / cataloguing / plugin_launcher.pl
index 72e9c15..90105f3 100755 (executable)
@@ -22,8 +22,8 @@ use CGI qw ( -utf8 );
 
 use Koha::FrameworkPlugin;
 
-my $input = new CGI;
+my $input = CGI->new;
 my $plugin= Koha::FrameworkPlugin->new( {
-    name => $input->param("plugin_name"),
+    name => scalar $input->param("plugin_name"),
 });
 $plugin->launch({ cgi => $input });