Index: HexagonBase/plug-ins/module_compatibility/context/context_module.plug.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/hexagon/HexagonBase/plug-ins/module_compatibility/context/Attic/context_module.plug.inc,v
retrieving revision 1.1.2.2
diff -u -p -r1.1.2.2 context_module.plug.inc
--- HexagonBase/plug-ins/module_compatibility/context/context_module.plug.inc	28 May 2010 21:34:28 -0000	1.1.2.2
+++ HexagonBase/plug-ins/module_compatibility/context/context_module.plug.inc	14 Jun 2010 16:10:26 -0000
@@ -15,10 +15,13 @@ function context_module_registry_preproc
  * Handles block region output for context compatibility.
  */
 function context_compatibility_preprocess_blocks(&$variables) {
-
-  if ($plugin = context_get_plugin('reaction', 'block')) {
-    $variables['content'] = $plugin->execute($variables['region']);
+  // Ensure the module is enabled. Enabling or disabling doesn't clear
+  // the theme registry.
+  if (module_exists('context')) {
+    if ($plugin = context_get_plugin('reaction', 'block')) {
+      $variables['content'] = $plugin->execute($variables['region']);
+    }
+    // Flag to disable the region since Context is handling it.
+    $variables['ignore_region'] = TRUE;
   }
-  // Flag to disable the region since Context is handling it.
-  $vars['ignore_region'] = TRUE;
 }
