Add missing zend_parse_paramters_none() in pdo_drivers()

This commit is contained in:
Kalle Sommer Nielsen 2008-10-10 23:37:51 +00:00
parent 1b993e8778
commit ef464f7872

View File

@ -103,6 +103,10 @@ PHP_FUNCTION(pdo_drivers)
HashPosition pos; HashPosition pos;
pdo_driver_t **pdriver; pdo_driver_t **pdriver;
if (zend_parse_parameters_none() == FAILURE) {
return;
}
array_init(return_value); array_init(return_value);
zend_hash_internal_pointer_reset_ex(&pdo_driver_hash, &pos); zend_hash_internal_pointer_reset_ex(&pdo_driver_hash, &pos);