Skip to content

Commit

Permalink
fix for 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Jun 21, 2018
1 parent a13c481 commit 06b69d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions swoole_postgresql_coro.c
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,9 @@ static void php_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, zend_long result_
}
}

#if PHP_VERSION_ID < 70300
fcc.initialized = 1;
#endif
fcc.function_handler = ce->constructor;
#if PHP_MINOR_VERSION > 0
fcc.calling_scope = zend_get_executed_scope();
Expand Down

0 comments on commit 06b69d0

Please sign in to comment.