From ad523438d2ab05fe54622ac0150f6ffe7a606fae Mon Sep 17 00:00:00 2001
From: Paul Mehrer
Date: Fri, 12 Jan 2024 17:33:18 +0100
Subject: [PATCH] tweak(TB Numberables) fix type issue re config
---
tine20/Tinebase/Numberable.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tine20/Tinebase/Numberable.php b/tine20/Tinebase/Numberable.php
index e395719823..54efe3b41d 100644
--- a/tine20/Tinebase/Numberable.php
+++ b/tine20/Tinebase/Numberable.php
@@ -103,8 +103,8 @@ public static function getNumberable(Tinebase_Record_Interface $_record, string
if (!isset(self::$_numberableCache[$key])) {
if ($numberableCfg = static::getCreateUpdateNumberableConfig($_class, $_field, $_config)) {
- $_config[TMCC::CONFIG][Tinebase_Numberable_String::ZEROFILL] = $numberableCfg->{Tinebase_Model_NumberableConfig::FLD_ZEROFILL};
- $_config[TMCC::CONFIG][Tinebase_Numberable_Abstract::START] = $numberableCfg->{Tinebase_Model_NumberableConfig::FLD_START};
+ $_config[TMCC::CONFIG][Tinebase_Numberable_String::ZEROFILL] = (int)$numberableCfg->{Tinebase_Model_NumberableConfig::FLD_ZEROFILL};
+ $_config[TMCC::CONFIG][Tinebase_Numberable_Abstract::START] = (int)$numberableCfg->{Tinebase_Model_NumberableConfig::FLD_START};
$_config[TMCC::CONFIG][Tinebase_Numberable_String::PREFIX] = $numberableCfg->{Tinebase_Model_NumberableConfig::FLD_PREFIX};
}