Skip to content

Commit 265f936

Browse files
author
Oleksandr Dubovyk
committed
MAGETWO-94058: Cannot clear Date of Birth value in customer edit page in Admin
- Fixed bug - Modified test
1 parent 6c33e86 commit 265f936

File tree

1 file changed

+0
-3
lines changed
  • app/code/Magento/Customer/Model/Metadata/Form

1 file changed

+0
-3
lines changed

app/code/Magento/Customer/Model/Metadata/Form/Date.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ public function validateValue($value)
9999
*/
100100
public function compactValue($value)
101101
{
102-
if (is_bool($value) || $value === null) {
103-
$value = '';
104-
}
105102
return $value;
106103
}
107104

0 commit comments

Comments
 (0)