aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ratatoeskr/sys/models.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php
index 808bba0..c3e112c 100644
--- a/ratatoeskr/sys/models.php
+++ b/ratatoeskr/sys/models.php
@@ -216,7 +216,7 @@ class User
throw new AlreadyExistsError();
qdb("UPDATE `PREFIX_users` SET `username` = '%s', `pwhash` = '%s', `mail` = '%s', `fullname` = '%s', `language` = '%s' WHERE `id` = %d",
- $this->username, $this->pwhash, $this->mail, $this->id, $this->fullname, $this->language);
+ $this->username, $this->pwhash, $this->mail, $this->fullname, $this->language, $this->id);
}
/*