--- loncom/interface/lonmeta.pm 2000/11/27 20:44:53 1.3
+++ loncom/interface/lonmeta.pm 2000/11/27 23:10:59 1.4
@@ -75,8 +75,8 @@ ENDHEAD
map {
my $name=$_;
my $display=&Apache::lonnet::metadata($uri,$name.'.display');
- if ($display) { $name=$display; };
- $r->print(''.$name.': '.$content{$name}.'
');
+ unless ($display) { $display=$name; };
+ $r->print(''.$display.': '.$content{$name}.'
');
} sort keys %content;
$r->print('