diff options
Diffstat (limited to 'httemplate/edit/process/elements/process.html')
-rw-r--r-- | httemplate/edit/process/elements/process.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html index fb5b352d2..e388c678b 100644 --- a/httemplate/edit/process/elements/process.html +++ b/httemplate/edit/process/elements/process.html @@ -59,7 +59,7 @@ % } @$fields % } ); % -% if ($old && scalar(@{$opt{'copy_on_empty'}})) { +% if ($old && exists($opt{'copy_on_empty'})) { % foreach my $field (@{$opt{'copy_on_empty'}}) { % $new->set($field, $old->get($field)) % unless scalar($cgi->param($field)); |