diff options
author | stuconnolly <stuart02@gmail.com> | 2012-07-21 07:03:02 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-07-21 07:03:02 +0000 |
commit | 5ad6486f86297a93aca37ee315616127d2591d4f (patch) | |
tree | 04f15b7b9b740f7ba91f707fe38eea6a9cf300b0 /Frameworks/QueryKit/Source/QKQueryStringAdditions.m | |
parent | e014abf5d279304ca2f8ca3aafdb31023697e74a (diff) | |
download | sequelpro-5ad6486f86297a93aca37ee315616127d2591d4f.tar.gz sequelpro-5ad6486f86297a93aca37ee315616127d2591d4f.tar.bz2 sequelpro-5ad6486f86297a93aca37ee315616127d2591d4f.zip |
QueryKit: Update quoting method.
Diffstat (limited to 'Frameworks/QueryKit/Source/QKQueryStringAdditions.m')
-rw-r--r-- | Frameworks/QueryKit/Source/QKQueryStringAdditions.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/QueryKit/Source/QKQueryStringAdditions.m b/Frameworks/QueryKit/Source/QKQueryStringAdditions.m index d2167041..ab508c5e 100644 --- a/Frameworks/QueryKit/Source/QKQueryStringAdditions.m +++ b/Frameworks/QueryKit/Source/QKQueryStringAdditions.m @@ -43,7 +43,7 @@ { NSString *escapedVersion = [NSString stringWithFormat:@"%@%@", character, character]; - return [NSString stringWithFormat: @"%@%@%@", character, [self stringByReplacingOccurrencesOfString:character withString:escapedVersion], character]; + return [NSString stringWithFormat: @"%1$@2$%@%1$@", character, [self stringByReplacingOccurrencesOfString:character withString:escapedVersion]]; } @end |