--- loncom/lonnet/perl/lonnet.pm 2005/05/02 23:34:43 1.631 +++ loncom/lonnet/perl/lonnet.pm 2005/05/03 19:22:22 1.632 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.631 2005/05/02 23:34:43 albertel Exp $ +# $Id: lonnet.pm,v 1.632 2005/05/03 19:22:22 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3913,7 +3913,9 @@ sub unmark_as_readonly { my @del_keys; if (ref($current_locks) eq "ARRAY"){ foreach my $locker (@{$current_locks}) { - if ($$locker[0].$$locker[1] eq $symb_crs) { + my $compare=$locker; + if (ref($locker)) { $compare=join('',@{$locker}) }; + if ($compare eq $symb_crs) { if (defined($file_name) && ($file_name ne $file)) { push(@new_locks, $what); }