]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #2561 fixed typo - thanks for the report
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 13 Nov 2010 13:19:21 +0000 (13:19 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 13 Nov 2010 13:19:21 +0000 (13:19 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7303 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/access.php

index 7dbd7e8764255bb0f7adeab97166d811f2bef13a..053c46e6f55a3126543f31995a3069d2a956cd36 100644 (file)
@@ -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.
                }