* Add condition for set function.
This commit is contained in:
@@ -1654,6 +1654,8 @@ class baseSQL
|
||||
*/
|
||||
public function set($set)
|
||||
{
|
||||
if($this->inCondition and !$this->conditionIsTrue) return $this;
|
||||
|
||||
/* Add ` to avoid keywords of mysql. */
|
||||
if(strpos($set, '=') ===false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user