aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-13 13:19:21 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-13 13:19:21 +0000
commit03bb25ce26dce07feef2c1ddc630e2d0d2cc7b01 (patch)
treeddd1828ea40f4d1eff73c5859ca67f0748e592bb
parent6766085309ba6c5eba1397789d9c030cf2db73bc (diff)
downloadelgg-03bb25ce26dce07feef2c1ddc630e2d0d2cc7b01.tar.gz
elgg-03bb25ce26dce07feef2c1ddc630e2d0d2cc7b01.tar.bz2
Fixes #2561 fixed typo - thanks for the report
git-svn-id: http://code.elgg.org/elgg/trunk@7303 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index 7dbd7e876..053c46e6f 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -608,7 +608,7 @@ function add_user_to_access_collection($user_guid, $collection_id) {
try {
$query = "insert into {$CONFIG->dbprefix}access_collection_membership"
. " set access_collection_id = {$collection_id}, user_guid = {$user_guid}";
- insert_data($queyr);
+ insert_data($query);
} catch (DatabaseException $e) {
// nothing.
}