---
edithelp.pl | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/edithelp.pl b/edithelp.pl
index 362f678..ba4558f 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;
--
1.6.3.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches