- MFB: fix filename property read

This commit is contained in:
Pierre Joye 2009-01-02 00:22:55 +00:00
parent c465c9b843
commit 09edebd2b7

View file

@ -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);
}