Fixed variable name ...
authorRoland Haeder <roland@mxchange.org>
Sun, 18 May 2014 08:58:28 +0000 (10:58 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 18 May 2014 08:58:28 +0000 (10:58 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/stacker/file/class_BaseFileStack.php

index ec406c6c6ae7e632032c0ba2a989c52d9c313220..ebe366a640ea92f0f15749d5b23fbba527cc24c8 100644 (file)
@@ -169,7 +169,7 @@ class BaseFileStack extends BaseStacker {
                $this->getIteratorInstance()->rewind();
 
                // Then read it (see constructor for calculation)
-               $data = $this->getIteratorInstance()->read($this->headerLength);
+               $data = $this->getIteratorInstance()->read($this->headerSize);
 
                // Last character must be the separator
                assert(substr($data, -1, 1) == self::SEPARATOR_HEADER_ENTRIES);