aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/access.php')
-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.
}