Index: lib/dmllib.php
===================================================================
RCS file: /cvsroot/moodle/moodle/lib/dmllib.php,v
retrieving revision 1.91
diff -u -r1.91 dmllib.php
--- lib/dmllib.php	30 Jan 2007 09:11:19 -0000	1.91
+++ lib/dmllib.php	14 Apr 2007 10:13:47 -0000
@@ -2397,7 +2397,7 @@
     if (isset($MCACHE)) {
         // at least as long as content keys to ensure they expire
         // before the dirty flag 
-        $MCACHE->set($tablekey, true, $CFG->rcachettl);
+        $MCACHE->set($table, true, $CFG->rcachettl);
     }
     return true;
 }
