From 03bb25ce26dce07feef2c1ddc630e2d0d2cc7b01 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 13 Nov 2010 13:19:21 +0000 Subject: Fixes #2561 fixed typo - thanks for the report git-svn-id: http://code.elgg.org/elgg/trunk@7303 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/access.php') 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. } -- cgit v1.2.3