(fix) small fixes
parent
c18f5c2246
commit
0d919dbd02
|
@ -2590,7 +2590,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
email = [identity objectForKey: @"email"];
|
||||
|
||||
if ([fullName length])
|
||||
new_from_header = [[NSString stringWithFormat: @"From: %@ <%@>\r\n", fullName, email] dataUsingEncoding:NSUTF8StringEncoding];
|
||||
new_from_header = [[NSString stringWithFormat: @"From: %@ <%@>\r\n", [fullName asQPSubjectString: @"utf-8"], email] dataUsingEncoding:NSUTF8StringEncoding];
|
||||
else
|
||||
new_from_header = [[NSString stringWithFormat: @"From: %@\r\n", email] dataUsingEncoding:NSUTF8StringEncoding];
|
||||
|
||||
|
|
|
@ -431,7 +431,7 @@ static EOAttribute *textColumn = nil;
|
|||
[sql appendFormat: @" AND c_version > %d", (int)startVersion];
|
||||
|
||||
if (deviceId) {
|
||||
pathValue = [adaptor formatValue: [NSString stringWithFormat: @"/%@", deviceId]
|
||||
pathValue = [adaptor formatValue: [NSString stringWithFormat: @"/%@%", deviceId]
|
||||
forAttribute: textColumn];
|
||||
[sql appendFormat: @" AND c_path like %@", pathValue];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue