Merge pull request #175 from IlyaBakhlin/master

Fixing the boolean bug.
This commit is contained in:
Adrien Loison 2016-02-15 16:43:30 -08:00
commit 10d1140a95

View File

@ -146,7 +146,7 @@ EOD;
$cellXML .= ' t="s"><v>' . $sharedStringId . '</v></c>';
}
} else if (CellHelper::isBoolean($cellValue)) {
$cellXML .= ' t="b"><v>' . $cellValue . '</v></c>';
$cellXML .= ' t="b"><v>' . intval($cellValue) . '</v></c>';
} else if (CellHelper::isNumeric($cellValue)) {
$cellXML .= '><v>' . $cellValue . '</v></c>';
} else if (empty($cellValue)) {