From: cash Date: Sat, 13 Nov 2010 13:19:21 +0000 (+0000) Subject: Fixes #2561 fixed typo - thanks for the report X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=03bb25ce26dce07feef2c1ddc630e2d0d2cc7b01;p=lorea%2Felgg.git Fixes #2561 fixed typo - thanks for the report git-svn-id: http://code.elgg.org/elgg/trunk@7303 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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. }