Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Crm): save lead with empty turnover
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Feitl committed Aug 30, 2021
1 parent f4afdf7 commit 36d4a89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tine20/Crm/Model/Lead.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ class Crm_Model_Lead extends Tinebase_Record_NewAbstract
],
'turnover' => [
self::TYPE => self::TYPE_FLOAT,
self::NULLABLE => true,
self::VALIDATORS => array(Zend_Filter_Input::ALLOW_EMPTY => true, Zend_Filter_Input::DEFAULT_VALUE => 0),
self::INPUT_FILTERS => [Zend_Filter_Empty::class => null],
],
'probableTurnover' => [
self::TYPE => self::TYPE_INTEGER,
Expand Down

0 comments on commit 36d4a89

Please sign in to comment.