Skip to content

Commit

Permalink
do not hang on empty code
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Nov 29, 2023
1 parent 846b20e commit cd63b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbraFlexi/RO.php
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ public function setDataValue(string $columnName, $value)
{
switch ($columnName) {
case 'kod':
$value = self::uncode($value); //Alwyas uncode "kod" column
$value = $value ? self::uncode($value) : ''; //Alwyas uncode "kod" column

default:
if (is_object($value)) {
Expand Down

0 comments on commit cd63b37

Please sign in to comment.