summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--context.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/context.module b/context.module
index 9232e09..0d31b80 100644
--- a/context.module
+++ b/context.module
@@ -387,6 +387,7 @@ function context_condition_map($reset = FALSE) {
$condition_map = $cache;
}
else {
+ $condition_map = array();
foreach (array_keys(context_conditions()) as $condition) {
if ($plugin = context_get_plugin('condition', $condition)) {
foreach (context_enabled_contexts() as $context) {