mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
- MFB: fix filename property read
This commit is contained in:
parent
c465c9b843
commit
09edebd2b7
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ static int php_zip_property_reader(ze_zip_object *obj, zip_prop_handler *hnd, zv
|
|||
switch (hnd->type) {
|
||||
case IS_STRING:
|
||||
if (retchar) {
|
||||
ZVAL_STRINGL(*retval, (char *) retchar, len, 1);
|
||||
ZVAL_STRING(*retval, (char *) retchar, 1);
|
||||
} else {
|
||||
ZVAL_EMPTY_STRING(*retval);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue