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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 24 Jan 2005 21:56:57 -0000


albertel		Mon Jan 24 16:56:57 2005 EDT

  Modified files:              (Branch: version_1_3_X)
    /loncom/publisher	lonpublisher.pm 
  Log:
  - backport 1.184
  
  
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.180 loncom/publisher/lonpublisher.pm:1.180.2.1
--- loncom/publisher/lonpublisher.pm:1.180	Mon Oct 11 13:40:46 2004
+++ loncom/publisher/lonpublisher.pm	Mon Jan 24 16:56:57 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.180 2004/10/11 17:40:46 albertel Exp $
+# $Id: lonpublisher.pm,v 1.180.2.1 2005/01/24 21:56:57 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1681,7 +1681,7 @@
 		    $ruid,$rgid,$rrdev,$rsize,
 		    $ratime,$rmtime,$rctime,
 		    $rblksize,$rblocks)=stat($resdir.'/'.$filename);
-	        if (($rmtime<$cmtime) || ($ENV{'form.forcerepub'})) {
+	        if (($rmtime<$cmtime) || ($ENV{'form.forcerepub'} eq 'ON')) {
 # previously published, modified now
 		    $publishthis=1;
                 }