diff options
-rwxr-xr-x | editusers.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi index b72be6e51..3e4a20e3b 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -822,7 +822,7 @@ if ($action eq 'update') { WHERE login_name=" . SqlQuote($userold)); SendSQL("SELECT userid FROM profiles - WHERE login_name=" . SqlQuote($user)); + WHERE login_name=" . SqlQuote($userold)); my $userid = FetchOneColumn(); SendSQL("DELETE FROM logincookies WHERE userid=" . $userid); |