--- loncom/publisher/lonpublisher.pm 2009/07/25 06:55:31 1.261
+++ 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.261 2009/07/25 06:55:31 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.='
'
.'