diff options
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r-- | Source/SPDatabaseDocument.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index 216a3004..c51a87e3 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -4852,8 +4852,7 @@ if ([self port]) [env setObject:[self port] forKey:@"SP_CURRENT_PORT"]; - if ([self databaseEncoding]) - [env setObject:[self databaseEncoding] forKey:@"SP_DATABASE_ENCODING"]; + [env setObject:([self databaseEncoding])?:@"" forKey:@"SP_DATABASE_ENCODING"]; } |