Fixed #4277
This commit is contained in:
@@ -952,7 +952,7 @@ public class LExecutor{
|
|||||||
Var vb = exec.var(compare);
|
Var vb = exec.var(compare);
|
||||||
boolean cmp;
|
boolean cmp;
|
||||||
|
|
||||||
if(op.objFunction != null && (va.isobj || vb.isobj)){
|
if(op.objFunction != null && va.isobj && vb.isobj){
|
||||||
//use object function if provided, and one of the variables is an object
|
//use object function if provided, and one of the variables is an object
|
||||||
cmp = op.objFunction.get(exec.obj(value), exec.obj(compare));
|
cmp = op.objFunction.get(exec.obj(value), exec.obj(compare));
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user