[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Fri, 28 Feb 2003 15:06:45 -0000
matthew Fri Feb 28 10:06:45 2003 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
Fix logic on call to see if a partid is hidden. Returns '1' if the part
is hidden....
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.148 loncom/interface/lonnavmaps.pm:1.149
--- loncom/interface/lonnavmaps.pm:1.148 Wed Feb 26 22:18:50 2003
+++ loncom/interface/lonnavmaps.pm Fri Feb 28 10:06:45 2003
@@ -2,7 +2,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.148 2003/02/27 03:18:50 bowersj2 Exp $
+# $Id: lonnavmaps.pm,v 1.149 2003/02/28 15:06:45 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2698,7 +2698,7 @@
if ($_ =~ /^parameter\_(.*)\_opendate$/) {
my $part = $1;
# check to see if part is turned off.
- if (Apache::loncommon::check_if_partid_hidden($part, $self->symb())) {
+ if (! Apache::loncommon::check_if_partid_hidden($part, $self->symb())) {
push @{$self->{PARTS}}, $1;
}
}