aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index bd212570c..82b7cef12 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -356,7 +356,7 @@
{
// Exists and you have access to it
- if ($exists = get_data_row("select guid from {$CONFIG->dbprefix}users_entity where guid = {$guid}")) {
+ if ($exists = get_data_row("SELECT guid from {$CONFIG->dbprefix}users_entity where guid = {$guid}")) {
$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)
{