--- rat/lonpageflip.pm 2014/05/20 20:40:46 1.85 +++ rat/lonpageflip.pm 2014/12/11 13:16:49 1.86 @@ -2,7 +2,7 @@ # # Page flip handler # -# $Id: lonpageflip.pm,v 1.85 2014/05/20 20:40:46 musolffc Exp $ +# $Id: lonpageflip.pm,v 1.86 2014/12/11 13:16:49 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -390,7 +390,7 @@ sub handler { untie(%hash); # --------------------------------------------------------- Store position info $cachehash{$startoutmap}{'last_direction'}=[$direction,'notasymb']; - foreach my $thismap (keys %cachehash) { + foreach my $thismap (keys(%cachehash)) { my $mapnum=$cachehash{$thismap}->{'mapnum'}; delete($cachehash{$thismap}->{'mapnum'}); &Apache::lonnet::symblist($thismap,