From be65e8b394b142696c4a72b5945cd2a3e6d3585c Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 12 May 2015 00:28:42 +0200 Subject: [PATCH] A little backward-compatiblity ... MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/main/class_BaseFrameworkSystem.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 2b2d2683..3f3e6f7a 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -279,7 +279,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { * * The integer size is 4 bytes on 32-bit and 8 bytes on a 64-bit system. */ - private $archArrayElement = (PHP_INT_SIZE === 8 ? 64 : 32); + private $archArrayElement = FALSE; /*********************** * Exception codes.... * @@ -415,6 +415,9 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { // Then set it self::$startupTime = microtime(TRUE); } // END - if + + // Set array element + $this->archArrayElement = (PHP_INT_SIZE === 8 ? 64 : 32); } /** -- 2.30.2