diff options
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r-- | Source/SPCustomQuery.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index 4d61461f..07dae0ed 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -3063,6 +3063,7 @@ [helpWebViewWindow close]; return SP_HELP_NOT_AVAILABLE; } + // nothing found? if(![theResult numberOfRows]) { @@ -3073,6 +3074,10 @@ if(![theResult numberOfRows]) return @""; } + + // Ensure rows are returned as strings to prevent data problems with older 4.1 servers + [theResult setReturnDataAsStrings:YES]; + tableDetails = [[NSDictionary alloc] initWithDictionary:[theResult getRowAsDictionary]]; if ([tableDetails objectForKey:@"description"]) { // one single help topic found |