Skip to content

Commit eb9e5a4

Browse files
committed
Fix segfault in PHP MapScript implementation of saveQuery with results parameter set.
1 parent de6a8d4 commit eb9e5a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapscript/php/map.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,7 @@ PHP_METHOD(mapObj, saveQuery)
19511951
zval *zobj = getThis();
19521952
char *filename;
19531953
long filename_len = 0;
1954-
int results = MS_FALSE;
1954+
long results = MS_FALSE;
19551955
int status = MS_FAILURE;
19561956
php_map_object *php_map;
19571957

0 commit comments

Comments
 (0)