aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml/ecml_functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/ecml/ecml_functions.php')
-rw-r--r--mod/ecml/ecml_functions.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/ecml/ecml_functions.php b/mod/ecml/ecml_functions.php
index e818a8f99..58395aa7b 100644
--- a/mod/ecml/ecml_functions.php
+++ b/mod/ecml/ecml_functions.php
@@ -203,8 +203,7 @@ function ecml_is_valid_keyword($keyword, $view = NULL) {
return FALSE;
}
- $views = $CONFIG->ecml_permissions['views'];
- $contexts = $CONFIG->ecml_permissions['contexts'];
+ $views = $CONFIG->ecml_permissions;
// this is a blacklist, so return TRUE by default.
$r = TRUE;