Commit a7042255 by Boris Kocherov

[erp5_only_office] ISTEXT() fix for handle `#NUM!` values

1 parent f6f3efd8
......@@ -453,7 +453,8 @@
arg0 = arg0.getValue();
}
if (arg0 instanceof cString) {
if (arg0 instanceof cString ||
arg0.errorType === cErrorType.not_numeric) {
return new cBool(true);
} else {
return new cBool(false);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!