Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix problem where Excel files couldn't be opened in Ofccie 2010

I haven't traced the problem, the fix is from one of the comments of, but for me, this reproducably fixes the issue the Excel 2010 refuses to open the files because they are corrupt
  • Loading branch information...
commit e63587ddb88057cc2e403c48d2f41728ba1044ef 1 parent 3d0d7aa
@flack flack authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  OLE/PPS/Root.php
2  OLE/PPS/Root.php
@@ -620,7 +620,7 @@ function _create_header($num_sb_blocks, $num_bb_blocks, $num_pps_blocks)
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"])
Please sign in to comment.
Something went wrong with that request. Please try again.