diff options
-rw-r--r-- | Zend/zend_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_list.c b/Zend/zend_list.c index 9f4f05774d..0aade1c525 100644 --- a/Zend/zend_list.c +++ b/Zend/zend_list.c @@ -165,7 +165,7 @@ ZEND_API void *zend_fetch_resource_ex(zval *passed_id, int default_id, char *res resource = zend_list_find(id, &actual_resource_type); if (!resource) { - zend_error(E_WARNING, "%d is not a valid %s resource", resource_type_name); + zend_error(E_WARNING, "%d is not a valid %s resource", id, resource_type_name); return NULL; } |