Ignore:
Timestamp:
Aug 2, 2022, 5:41:41 PM (22 months ago)
Author:
chronos
Message:
  • Fixed: DateTime type null value handling.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Form/Form.php

    r923 r941  
    8383    $Item = $this->Definition['Items'][$Index];
    8484    $UseType = $this->GetItemType($Item);   
    85     return $this->FormManager->Type->ExecuteTypeEvent($UseType, $Event,
     85   
     86    $Result = $this->FormManager->Type->ExecuteTypeEvent($UseType, $Event,
    8687      array('Value' => $this->Values[$Index], 'Name' => $Index,
    8788      'Type' => $Item['Type'], 'Values' => $this->Values,
    8889      'Filter' => $this->Values[$Index]));
     90    if ($Result == null) return '';
     91    return $Result;
    8992  }
    9093
Note: See TracChangeset for help on using the changeset viewer.