Permalink
Browse files

OGR output: emit layers with no results (#5208)

  • Loading branch information...
tbonfort committed Feb 23, 2016
1 parent 89965c1 commit 1ad47f6bab40772e1fa82eb4bc5d3e018439fd06
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapogroutput.c
View
@@ -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;
/* -------------------------------------------------------------------- */

0 comments on commit 1ad47f6

Please sign in to comment.