fixed table name typo
authorPetr Skoda <skodak@moodle.org>
Wed, 27 Oct 2010 08:09:32 +0000 (08:09 +0000)
committerPetr Skoda <skodak@moodle.org>
Wed, 27 Oct 2010 08:09:32 +0000 (08:09 +0000)
lib/accesslib.php

index 7a119be..dbfa0f4 100755 (executable)
@@ -5642,7 +5642,7 @@ function build_context_path($force = false) {
         $updatesql = "UPDATE {context}
                          SET path  = (SELECT path FROM {context_temp} WHERE id = {context}.id),
                              depth = (SELECT depth FROM {context_temp} WHERE id = {context}.id)
-                         WHERE id IN (SELECT id FROM mdl_context_temp)";
+                         WHERE id IN (SELECT id FROM {context_temp})";
     }
 
     // Top level categories