[LON-CAPA-cvs] cvs: loncom /publisher lonpublisher.pm

www www@source.lon-capa.org
Wed, 02 Jun 2010 19:09:42 -0000


www		Wed Jun  2 19:09:42 2010 EDT

  Modified files:              
    /loncom/publisher	lonpublisher.pm 
  Log:
  Don't remember nothing for title
  
  
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.266 loncom/publisher/lonpublisher.pm:1.267
--- loncom/publisher/lonpublisher.pm:1.266	Thu May 27 18:27:43 2010
+++ loncom/publisher/lonpublisher.pm	Wed Jun  2 19:09:42 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.266 2010/05/27 18:27:43 www Exp $
+# $Id: lonpublisher.pm,v 1.267 2010/06/02 19:09:42 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1121,7 +1121,7 @@
 # ------------------------------------------------------------- Save some stuff
         my %savemeta=();
         foreach ('title') {
-            $savemeta{$_}=$metadatafields{$_};
+            if ($metadatafields{$_}) { $savemeta{$_}=$metadatafields{$_}; }
 	}
 # ------------------------------------------ See if anything new in file itself