Commit a7042255 authored by Boris Kocherov's avatar Boris Kocherov

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

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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment