Fix Excel5 category

Update Excel5.php to remove hard-coded "Test result file" category
This commit is contained in:
Phill Sparks 2013-03-27 16:12:35 +00:00
parent d79bdc5b19
commit 0c15e8abb7

View File

@ -596,7 +596,6 @@ class PHPExcel_Writer_Excel5 extends PHPExcel_Writer_Abstract implements PHPExce
// GKPIDDSI_CATEGORY : Category // GKPIDDSI_CATEGORY : Category
if($this->_phpExcel->getProperties()->getCategory()){ if($this->_phpExcel->getProperties()->getCategory()){
$dataProp = $this->_phpExcel->getProperties()->getCategory(); $dataProp = $this->_phpExcel->getProperties()->getCategory();
$dataProp = 'Test result file';
$dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02), $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02),
'offset' => array('pack' => 'V'), 'offset' => array('pack' => 'V'),
'type' => array('pack' => 'V', 'data' => 0x1E), 'type' => array('pack' => 'V', 'data' => 0x1E),
@ -933,4 +932,4 @@ class PHPExcel_Writer_Excel5 extends PHPExcel_Writer_Abstract implements PHPExce
return $data; return $data;
} }
} }