|
@@ -400,7 +400,7 @@ $(document).ready(() => {
|
|
|
|
|
|
const num = text ? _.toNumber(text) : null;
|
|
const num = text ? _.toNumber(text) : null;
|
|
let expr = text ? (num ? null : text) : null;
|
|
let expr = text ? (num ? null : text) : null;
|
|
- expr = expr.replace('=', '').toLowerCase();
|
|
|
|
|
|
+ expr = expr ? expr.replace('=', '').toLowerCase(): null;
|
|
const [valid, msg] = this._checkExprValid(expr, ['bqwc', 'ybbqwc']);
|
|
const [valid, msg] = this._checkExprValid(expr, ['bqwc', 'ybbqwc']);
|
|
if (!valid) return [valid, msg];
|
|
if (!valid) return [valid, msg];
|
|
|
|
|