aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 91d49d97d..5c0f9aa2d 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -2489,7 +2489,7 @@ function elgg_validate_action_url($link) {
$query = array();
}
- if (array_key_exists('__elgg_ts', $query) && array_key_exists('__elgg_token', $query)) {
+ if (isset($query['__elgg_ts']) && isset($query['__elgg_token'])) {
return $link;
}