--- loncom/publisher/lonpublisher.pm 2009/11/24 01:11:53 1.258.2.3
+++ loncom/publisher/lonpublisher.pm 2011/10/22 15:16:20 1.268
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Publication Handler
#
-# $Id: lonpublisher.pm,v 1.258.2.3 2009/11/24 01:11:53 raeburn Exp $
+# $Id: lonpublisher.pm,v 1.268 2011/10/22 15:16:20 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1121,7 +1121,7 @@ sub publish {
# ------------------------------------------------------------- Save some stuff
my %savemeta=();
foreach ('title') {
- $savemeta{$_}=$metadatafields{$_};
+ if ($metadatafields{$_}) { $savemeta{$_}=$metadatafields{$_}; }
}
# ------------------------------------------ See if anything new in file itself
@@ -1223,12 +1223,14 @@ sub publish {
my $intr_scrout.='
'
.'