[LON-CAPA-cvs] cvs: loncom /publisher lonpublisher.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Fri, 09 Aug 2002 18:03:05 -0000
matthew Fri Aug 9 14:03:05 2002 EDT
Modified files:
/loncom/publisher lonpublisher.pm
Log:
Fixed bonehead logic error.
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.90 loncom/publisher/lonpublisher.pm:1.91
--- loncom/publisher/lonpublisher.pm:1.90 Fri Aug 9 13:59:14 2002
+++ loncom/publisher/lonpublisher.pm Fri Aug 9 14:03:05 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Publication Handler
#
-# $Id: lonpublisher.pm,v 1.90 2002/08/09 17:59:14 matthew Exp $
+# $Id: lonpublisher.pm,v 1.91 2002/08/09 18:03:05 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1126,7 +1126,7 @@
$metadatafields{'version'} = 'current';
unless ($metadatafields{'copyright'} eq 'priv') {
my ($error,$success) = &store_metadata(\%metadatafields);
- if (! $success) {
+ if ($success) {
$scrout.='<p>Synchronized SQL metadata database';
print $logfile "\nSynchronized SQL metadata database";
} else {