aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-02 19:01:40 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-02 19:01:40 +0000
commitf04710798a01782fddd4f7e848d8a534dedb2e7e (patch)
treea7fc8355d71edb4e47280d251ca8435d79deddba /Source/SPUserManager.m
parent7424d1d889120708b8986b47d49f58f418ae8136 (diff)
downloadsequelpro-f04710798a01782fddd4f7e848d8a534dedb2e7e.tar.gz
sequelpro-f04710798a01782fddd4f7e848d8a534dedb2e7e.tar.bz2
sequelpro-f04710798a01782fddd4f7e848d8a534dedb2e7e.zip
Fix renaming users. Fixes issue #1327.
Diffstat (limited to 'Source/SPUserManager.m')
-rw-r--r--Source/SPUserManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m
index 4c96a8e4..a56bfc96 100644
--- a/Source/SPUserManager.m
+++ b/Source/SPUserManager.m
@@ -916,7 +916,7 @@ static const NSString *SPTableViewNameColumnID = @"NameColumn";
[self _renameUserFrom:[user valueForKey:@"originaluser"]
host:[child valueForKey:@"originalhost"] ? [child valueForKey:@"originalhost"] : [child host]
to:[user valueForKey:@"user"]
- host:[child valueForKey:@"host"]];
+ host:[child host]];
}
}