aboutsummaryrefslogtreecommitdiffstats
path: root/TableSource.m
diff options
context:
space:
mode:
Diffstat (limited to 'TableSource.m')
-rw-r--r--TableSource.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/TableSource.m b/TableSource.m
index f8d3a446..58c5fb34 100644
--- a/TableSource.m
+++ b/TableSource.m
@@ -522,8 +522,8 @@ fetches the result as an array with a dictionary for each row in it
id key;
int i;
+ if ([theResult numOfRows]) [theResult dataSeek:0];
for ( i = 0 ; i < [theResult numOfRows] ; i++ ) {
- [theResult dataSeek:i];
tempRow = [NSMutableDictionary dictionaryWithDictionary:[theResult fetchRowAsDictionary]];
//use NULL string from preferences instead of the NSNull oject returned by the framework