avoid uninitialised value warning
parent
12eb585353
commit
5e713047b4
|
@ -71,7 +71,7 @@ sub formbuilder (@) { #{{{
|
|||
my $form=$params{form};
|
||||
|
||||
return if $form->field("do") ne "create" ||
|
||||
length $form->field("editcontent");
|
||||
(defined $form->field("editcontent") && length $form->field("editcontent"));
|
||||
|
||||
my $page=$form->field("page");
|
||||
|
||||
|
|
Loading…
Reference in New Issue