aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-12-01 23:05:35 +0100
committerKevin Chabowski <kevin@kch42.de>2011-12-01 23:05:35 +0100
commitd834b944748cc1dab8dc1234592dfb9206c9610d (patch)
tree10b2c61bc520df048547ebe388a75a334b9ef9d5 /ratatoeskr/sys
parentc7893012cdc6214a0d3f17652850d65e30929777 (diff)
downloadratatoeskr-cms-d834b944748cc1dab8dc1234592dfb9206c9610d.tar.gz
ratatoeskr-cms-d834b944748cc1dab8dc1234592dfb9206c9610d.tar.bz2
ratatoeskr-cms-d834b944748cc1dab8dc1234592dfb9206c9610d.zip
Fixed bug in User::save.
Diffstat (limited to 'ratatoeskr/sys')
-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);
}
/*