Skip to content
Snippets Groups Projects
Commit 72c7ce08 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Sql_lib: SqlBuilder accepts conditions constants like: SqlBuilder.EQUAL (the whole function)

using Util_lib for typecheck now
parent 89bddeea
No related branches found
No related tags found
Loading
......@@ -1455,7 +1455,7 @@ SqlBuilder.prototype._addWhere = function(pFieldOrCond, pValue, pMandatory, pCon
pCondition = resCond[0];
pFieldType = pFieldType || resCond[1];
}
else if(typeof(resCond) == "string")
else if(Utils.isString(pCondition))
{
pCondition = resCond;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment