diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-09 12:15:18 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-09 12:15:18 +0000 |
commit | 8f4260e2a46eba16ebc2462ec1d23260e8377482 (patch) | |
tree | 4536ccc7fc337705e2c0cacf336f798f305db211 /engine/lib/users.php | |
parent | 8c1ee672febd8f2579b8ee4b8c20e3b5b5a5970e (diff) | |
download | elgg-8f4260e2a46eba16ebc2462ec1d23260e8377482.tar.gz elgg-8f4260e2a46eba16ebc2462ec1d23260e8377482.tar.bz2 |
Interim fix for user saving
git-svn-id: https://code.elgg.org/elgg/trunk@830 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r-- | engine/lib/users.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index ed73e7405..76d5cac00 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -347,8 +347,8 @@ {
// Exists and you have access to it - $result = update_data("UPDATE {$CONFIG->dbprefix}users_entity set name='$name', username='$username', password='$password', email='$email', language='$language', code='$code' where guid=$guid"); - if ($result!=false) + $result = update_data("UPDATE {$CONFIG->dbprefix}users_entity set name='$name', username='$username', password='$password', email='$email', language='$language', code='$code', last_action = ". time() ." where guid = {$guid}"); + if ($result != false) { // Update succeeded, continue $entity = get_entity($guid); |