[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 25 Mar 2003 22:35:58 -0000


albertel		Tue Mar 25 17:35:58 2003 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  - untie(hash) not untie(reference to hash)
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.166 loncom/interface/lonnavmaps.pm:1.167
--- loncom/interface/lonnavmaps.pm:1.166	Sun Mar 23 02:12:41 2003
+++ loncom/interface/lonnavmaps.pm	Tue Mar 25 17:35:58 2003
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.166 2003/03/23 07:12:41 albertel Exp $
+# $Id: lonnavmaps.pm,v 1.167 2003/03/25 22:35:58 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -118,7 +118,7 @@
     # original hash and the tied hash must be untied. Bleh.
     for my $ref (@refsToUntie) {
         &Apache::lonnet::logthis('Cleanup navmaps: reference');
-        unless (untie($ref)) {
+        unless (untie(%$ref)) {
             &Apache::lonnet::logthis('Failed cleanup navmaps: reference');
         }
     }