--- loncom/interface/lonindexer.pm 2013/08/12 19:47:10 1.213.4.6
+++ loncom/interface/lonindexer.pm 2014/12/11 01:46:17 1.222
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Directory Indexer
#
-# $Id: lonindexer.pm,v 1.213.4.6 2013/08/12 19:47:10 raeburn Exp $
+# $Id: lonindexer.pm,v 1.222 2014/12/11 01:46:17 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -623,7 +623,7 @@ END
# ----------------- read in what directories have previously been set to "open"
- foreach (keys %hash) {
+ foreach (keys(%hash)) {
if ($_ =~ /^diropen_status_/) {
my $key = $_;
$key =~ s/^diropen_status_//;
@@ -754,7 +754,7 @@ sub get_list {
(my $luri = $uri) =~ s/\//_/g;
if ($env{'form.updatedisplay'}) {
- foreach (keys %hash) {
+ foreach (keys(%hash)) {
delete $hash{$_} if ($_ =~ /^dirlist_files_/);
delete $hash{$_} if ($_ =~ /^dirlist_timestamp_files_/);
}
@@ -1000,7 +1000,7 @@ $r->print (''.
+ 'onclick="set_wishlistlink('."'$plainname','$startdir$listname"."/'".')">'.
'
'.$tabtag);
$r->print(&Apache::loncommon::end_data_table_row());
@@ -1250,7 +1250,7 @@ $r->print (''.
+ 'onclick="set_wishlistlink('."'$listname','$startdir$listname"."/'".')">'.
'
');
# Attributes
@@ -1297,8 +1297,8 @@ $r->print ('