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

Commit

Permalink
fix(Tinebase): fix cf boolean value is cast to string
Browse files Browse the repository at this point in the history
  • Loading branch information
sstamer committed Apr 17, 2023
1 parent 77fcfec commit 75b5224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tine20/Tinebase/CustomField.php
Expand Up @@ -529,11 +529,11 @@ public function saveRecordCustomFields(Tinebase_Record_Interface $_record)
/**
* @param Tinebase_Record_Interface $_record
* @param Tinebase_Model_CustomField_Config $customField
* @return null|string
* @return null|mixed
* @throws Tinebase_Exception_Record_Validation
*/
protected function _getCustomFieldValue(Tinebase_Record_Interface $_record,
Tinebase_Model_CustomField_Config $customField): ?string
Tinebase_Model_CustomField_Config $customField)
{
$value = $_record->customfields[$customField->name];

Expand Down

0 comments on commit 75b5224

Please sign in to comment.