Parcourir la source

Fix: data insert line

viest il y a 5 ans
Parent
commit
76ad14f530
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      kernel/excel.c

+ 2 - 0
kernel/excel.c

@@ -403,6 +403,8 @@ PHP_METHOD(vtiful_xls, data)
                 type_writer(&bucket->val, SHEET_CURRENT_LINE(obj), bucket->h, &obj->write_ptr, NULL, NULL);
                 zval_ptr_dtor(&bucket->val);
             ZEND_HASH_FOREACH_END();
+
+            SHEET_LINE_ADD(obj)
         }
     ZEND_HASH_FOREACH_END();
 }