From 1201209370f89ab9d20285e4087a47438ad18d8b Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 18 May 2014 10:57:24 +0200 Subject: [PATCH] Fixed constant name. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/main/stacker/file/class_BaseFileStack.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/classes/main/stacker/file/class_BaseFileStack.php b/inc/classes/main/stacker/file/class_BaseFileStack.php index 47b7b5ce..ec406c6c 100644 --- a/inc/classes/main/stacker/file/class_BaseFileStack.php +++ b/inc/classes/main/stacker/file/class_BaseFileStack.php @@ -89,7 +89,7 @@ class BaseFileStack extends BaseStacker { // Calculate header size $this->headerSize = ( - strlen(self::MAGIC) + + strlen(self::STACK_MAGIC) + strlen(self::SEPARATOR_HEADER_DATA) + self::LENGTH_COUNT + strlen(self::SEPARATOR_HEADER_DATA) + @@ -193,7 +193,7 @@ class BaseFileStack extends BaseStacker { assert(count($this->header) == 3); // Check magic - assert($this->header[0] == self::MAGIC); + assert($this->header[0] == self::STACK_MAGIC); // Check length of count and seek position assert(strlen($this->header[1]) == self::LENGTH_COUNT); -- 2.39.5