Skip to content

Commit

Permalink
OGR output: emit layers with no results (#5208)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Feb 23, 2016
1 parent 89965c1 commit 1ad47f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapogroutput.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ int msOGRWriteFromQuery( mapObj *map, outputFormatObj *format, int sendheaders )
int reproject = MS_FALSE;
int nFirstOGRFieldIndex = -1;

if( !layer->resultcache || layer->resultcache->numresults == 0 )
if( !layer->resultcache )
continue;

/* -------------------------------------------------------------------- */
Expand Down

0 comments on commit 1ad47f6

Please sign in to comment.