summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/context_reaction_block.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/context_reaction_block.inc b/plugins/context_reaction_block.inc
index ec97c70..47212ea 100644
--- a/plugins/context_reaction_block.inc
+++ b/plugins/context_reaction_block.inc
@@ -247,7 +247,7 @@ class context_reaction_block extends context_reaction {
$blocks = block_list($region);
if (isset($context_blocks[$region])) {
$blocks = array_merge($blocks, $context_blocks[$region]);
- uasort($blocks, 'context_reaction_block::block_sort');
+ uasort($blocks, array('context_reaction_block', 'block_sort'));
}
return $blocks;
}
@@ -404,7 +404,7 @@ class context_reaction_block extends context_reaction {
}
}
}
- uasort($blocks, "context_reaction_block::block_sort");
+ uasort($blocks, array('context_reaction_block', 'block_sort'));
}
return $blocks;
}