squarely between shame in you and so close
[freeside.git] / httemplate / edit / process / elements / process.html
index fb5b352..e388c67 100644 (file)
@@ -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));