Skip to content

Commit e321dfd

Browse files
committed
update of Code use
1 parent 8c627e9 commit e321dfd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/AbraFlexi/kod.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@ trait kod
2525
{
2626
/**
2727
* Obtain record/object identificator code:
28-
* Vrací identifikátor objektu code:
2928
*
3029
* @see https://demo.flexibee.eu/devdoc/identifiers Identifikátory záznamů
3130
*
3231
* @return string record code identifier
3332
*/
3433
public function _getRecordCode()
3534
{
36-
return empty($this->getDataValue('kod')) ? null : \AbraFlexi\Functions::code($this->getDataValue('kod'));
35+
return empty($this->getDataValue('kod')) ? null : \AbraFlexi\Code::ensure($this->getDataValue('kod'));
3736
}
3837
}

0 commit comments

Comments
 (0)