aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/ecml/start.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/mod/ecml/start.php b/mod/ecml/start.php
index 07d30949a..a0fd3c929 100644
--- a/mod/ecml/start.php
+++ b/mod/ecml/start.php
@@ -108,12 +108,8 @@ function ecml_parse_view($hook, $entity_type, $return_value, $params) {
// give me everything that is not a ], possibly followed by a :, and surrounded by [[ ]]s
$keyword_regex = '/\[\[([a-z0-9_]+):?([^\]]+)?\]\]/';
-
- if (array_key_exists($params['view'], $CONFIG->ecml_parse_views)) {
- $CONFIG->ecml_current_view = $params['view'];
-
- $return_value = preg_replace_callback($keyword_regex, 'ecml_parse_view_match', $return_value);
- }
+ $CONFIG->ecml_current_view = $params['view'];
+ $return_value = preg_replace_callback($keyword_regex, 'ecml_parse_view_match', $return_value);
return $return_value;
}