Skip to content
Browse files

Merge pull request #1 from flack/patch-1

Fix problem where Excel files couldn't be opened in Office 2010
  • Loading branch information...
2 parents 3d0d7aa + e63587d commit 6671bfe0c76cbf347ba44e20489a2e88573b0ba6 @CloCkWeRX CloCkWeRX committed Jan 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 OLE/PPS/Root.php
View
2 OLE/PPS/Root.php
@@ -620,7 +620,7 @@ function _create_header($num_sb_blocks, $num_bb_blocks, $num_pps_blocks)
else
fwrite($FILE, pack("V", -2));
- fwrite($FILE, pack("V", 1));
+ fwrite($FILE, pack("V", $num_sb_blocks));
// Extra BDList Start, Count
if($bbd_info["blockchain_list_entries"] < $bbd_info["header_blockchain_list_entries"])

0 comments on commit 6671bfe

Please sign in to comment.
Something went wrong with that request. Please try again.