MaiXinRong %!s(int64=5) %!d(string=hai) anos
pai
achega
b9de59f1c7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/public/js/stage_pay.js

+ 1 - 1
app/public/js/stage_pay.js

@@ -400,7 +400,7 @@ $(document).ready(() => {
 
             const num = text ? _.toNumber(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']);
             if (!valid) return [valid, msg];