From a5c21a7b438c4c9dd9ac9d4a393cc30d37c21232 Mon Sep 17 00:00:00 2001 From: Arthur-min Date: Wed, 14 Dec 2016 14:21:16 +0100 Subject: [PATCH] Exxcel 2003 XML working pattern property (#54) --- src/PhpSpreadsheet/Reader/Excel2003XML.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpSpreadsheet/Reader/Excel2003XML.php b/src/PhpSpreadsheet/Reader/Excel2003XML.php index 8e9f82f4..f74e513a 100644 --- a/src/PhpSpreadsheet/Reader/Excel2003XML.php +++ b/src/PhpSpreadsheet/Reader/Excel2003XML.php @@ -479,7 +479,7 @@ class Excel2003XML extends BaseReader implements IReader $this->styles[$styleID]['fill']['color']['rgb'] = substr($styleAttributeValue, 1); break; case 'Pattern': - $this->styles[$styleID]['fill']['type'] = substr($styleAttributeValue, 1); + $this->styles[$styleID]['fill']['type'] = strtolower($styleAttributeValue); break; } }