Skip to content

Commit

Permalink
tweak(TB Numberables) fix type issue re config
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmhh committed Jan 12, 2024
1 parent 13bc5c1 commit ad52343
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 ad52343

Please sign in to comment.