From d834b944748cc1dab8dc1234592dfb9206c9610d Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 1 Dec 2011 23:05:35 +0100 Subject: Fixed bug in User::save. --- ratatoeskr/sys/models.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatoeskr') 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); } /* -- cgit v1.2.3-70-g09d2