summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/auth/mysql.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth/mysql.class.php b/inc/auth/mysql.class.php
index 6d79c5430..8fdb16122 100644
--- a/inc/auth/mysql.class.php
+++ b/inc/auth/mysql.class.php
@@ -294,7 +294,7 @@ class auth_mysql extends auth_basic {
if($this->openDB()) {
$this->lockTables("WRITE");
$rc = addUserToGroup($user, $group);
- $this->unlochTables();
+ $this->unlockTables();
$this->closeDB();
}
return $rc;