Skip to content

Commit

Permalink
Merge branch 'pu/pm/TbNumberableFixTypeIssue' into '2024.11'
Browse files Browse the repository at this point in the history
tweak(TB Numberables) fix type issue re config

See merge request tine20/tine20!4750
  • Loading branch information
paulmhh committed Jan 12, 2024
2 parents 13bc5c1 + ad52343 commit c9ee13c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tine20/Tinebase/Numberable.php
Original file line number Diff line number Diff line change
Expand Up @@ -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};
}

Expand Down

0 comments on commit c9ee13c

Please sign in to comment.