squarely between shame in you and so close
authorjeff <jeff>
Wed, 24 Jan 2007 05:33:37 +0000 (05:33 +0000)
committerjeff <jeff>
Wed, 24 Jan 2007 05:33:37 +0000 (05:33 +0000)
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));