diff options
Diffstat (limited to 'ext/satellite/php_orbit.c')
-rw-r--r-- | ext/satellite/php_orbit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/satellite/php_orbit.c b/ext/satellite/php_orbit.c index 7fa82a6aca..745160abb7 100644 --- a/ext/satellite/php_orbit.c +++ b/ext/satellite/php_orbit.c @@ -147,12 +147,12 @@ PHP_FUNCTION(satellite_load_idl) getParameters(ht, 1, &p_parameter); - if (p_parameter->type != IS_STRING) + if (Z_TYPE_P(p_parameter) != IS_STRING) { RETURN_NULL(); } - RETURN_BOOL(TypeManager_LoadFile(p_parameter->value.str.val)); + RETURN_BOOL(TypeManager_LoadFile(Z_STRVAL_P(p_parameter))); } /* |