aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-30 23:26:21 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-30 23:26:21 +0000
commitf5f185ddd307d218cbfab4dd53ec540caf54205e (patch)
treeff5a1ad49cfe6271e6f34f5dfc881ddfee92d1ed /engine/lib
parent706b3140362c2f9eb2029da44ee0f0c993ba3046 (diff)
downloadelgg-f5f185ddd307d218cbfab4dd53ec540caf54205e.tar.gz
elgg-f5f185ddd307d218cbfab4dd53ec540caf54205e.tar.bz2
Changed array_key_exists() to isset() in elgg_validate_action_url().
git-svn-id: http://code.elgg.org/elgg/trunk@3865 36083f99-b078-4883-b0ff-0f9b5a30f544
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;
}