Skip to content

Commit

Permalink
🐛 #14 FIX TEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Oct 8, 2023
1 parent 1b87aa2 commit c365e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/lib/adianti/widget/form/TEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ public function getPostData()

if ($this->numericMask)
{
$value = str_replace( $this->thousandSeparator, '', $value);
$value = str_replace( $this->decimalsSeparator, '.', $value);
$value = isset($value)? str_replace( $this->thousandSeparator, '', $value) : null;
$value = isset($value)? str_replace( $this->decimalsSeparator, '.', $value): null;
return $value;
}
else if ($this->mask)
Expand Down

0 comments on commit c365e55

Please sign in to comment.