Skip to content

Commit 9a8e7af

Browse files
committed
#7333: Unable to set negative custom option fixed price in admin view.
- Changed validator method to public
1 parent f7aab57 commit 9a8e7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Product/Option/Validator/DefaultValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ protected function isNegative($value)
185185
* @param string $value
186186
* @return bool
187187
*/
188-
protected function isNumber($value)
188+
public function isNumber($value)
189189
{
190190
return is_numeric($this->localeFormat->getNumber($value));
191191
}

0 commit comments

Comments
 (0)