* [misc,0.5h] fix bug.
This commit is contained in:
@@ -322,7 +322,7 @@ class sqlparser
|
||||
if(!empty($tableB)) $columnA = $this->trimExpr($columnA);
|
||||
|
||||
$exprA = empty($tableA) ? "`$columnA`" : "`$tableA`.`$columnA`";
|
||||
$exprB = empty($tableB) ? "$columnB" : "`$tableB`.`$columnB`";
|
||||
$exprB = empty($tableB) ? "'$columnB'" : "`$tableB`.`$columnB`";
|
||||
|
||||
$operator = strtoupper($operator);
|
||||
$expr = "$exprA $operator $exprB";
|
||||
|
||||
Reference in New Issue
Block a user