projects
/
project/context.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3695e17
)
Issue #1056434: static not properly initialized, cache performance hit
author
rypalmer
Sun, 23 Oct 2011 04:15:11 +0000 (21:15 -0700)
committer
Fox
Sun, 23 Oct 2011 04:15:11 +0000 (21:15 -0700)
context.module
patch
|
blob
|
blame
|
history
diff --git
a/context.module
b/context.module
index
9232e09
..
0d31b80
100644
(file)
--- 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) {