X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=edithelp.pl;h=ba4558fd72761da41e3f0c733efa003be7a6cb7b;hb=cbfc3e8f43f15946518068a4e2f99c3825603e3f;hp=362f678e86045c61b70bd813f17444a07c361152;hpb=b5ab0da999b892237026947017f170d5f001e732;p=koha_fer diff --git a/edithelp.pl b/edithelp.pl index 362f678e86..ba4558fd72 100755 --- a/edithelp.pl +++ b/edithelp.pl @@ -21,6 +21,7 @@ use strict; use C4::Output; use C4::Auth; use CGI; +use warnings; use vars qw($debug); @@ -30,10 +31,10 @@ BEGIN { our $input = new CGI; -my $type = $input->param('type'); -my $referer = $input->param('referer'); +my $type = $input->param('type') || ''; +my $referer = $input->param('referer') || ''; my $oldreferer = $referer; -my $help = $input->param('help'); +my $help = $input->param('help') || ''; # strip any DOS-newlines that TinyMCE may have sneaked in $help =~ s/\r//g; my $error;