aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-02 17:25:04 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-02 17:25:04 +0000
commitd67fe50af9c0394eaf380b75cc05192ae71199ae (patch)
tree6e1366162f060c8b56ec2e2f2b0eaf1a43e4f38e /Source/SPUserManager.m
parent395dc22a1938c2f1c358f126734f56b8d38f7d28 (diff)
downloadsequelpro-d67fe50af9c0394eaf380b75cc05192ae71199ae.tar.gz
sequelpro-d67fe50af9c0394eaf380b75cc05192ae71199ae.tar.bz2
sequelpro-d67fe50af9c0394eaf380b75cc05192ae71199ae.zip
Use the correct host when renaming a user.
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 ac539624..4c96a8e4 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 user]];
+ host:[child valueForKey:@"host"]];
}
}