If a cell contains a numerical zero value, i.e. 0, the cell is return as an empty cell of zero length.

I think this is because of a bug in phpexcel.inc::phpexcel_import($path, $keyed_by_headers = TRUE).

All instances of:

$value = $cell->getValue() ? $cell->getValue() : '';

will return an incorrect '' for a value of 0 (zero).

Regards,
Andrei

Comments

wadmiraal’s picture

Status: Active » Fixed

It's on dev.

wadmiraal’s picture

And on 7.x-3.5

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.