From d7e98809667ea1e41acaf1c5f6d8fbfb0958493b Mon Sep 17 00:00:00 2001 From: Brian Medley Date: Mon, 23 Mar 2009 08:42:15 +0000 Subject: [PATCH] Seems to be working. --- lib/WebGUI/Storage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Storage.pm b/lib/WebGUI/Storage.pm index 83b9c7f64..be40a5b9c 100644 --- a/lib/WebGUI/Storage.pm +++ b/lib/WebGUI/Storage.pm @@ -1211,7 +1211,7 @@ sub annotate { my $annotate_width = $form->process("annotate_width"); my $annotate_height = $form->process("annotate_height"); # warn(qq(unless ($annotate_top && $annotate_left && $annotate_width && $annotate_height && $annotate_text !~ /^\s*$/))); - if ($annotate_top && $annotate_left && $annotate_width && $annotate_height && $annotate_text !~ /^\s*$/) { + if (defined $annotate_top && defined $annotate_left && defined $annotate_width && defined $annotate_height && $annotate_text !~ /^\s*$/) { if ($save_annotate) { $save_annotate .= "\n"; }