diff options
Diffstat (limited to 'it_dbi.class')
| -rw-r--r-- | it_dbi.class | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/it_dbi.class b/it_dbi.class index d84c194..316f3ca 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -890,7 +890,7 @@ function delete($query = null)   */  function delete_untouched($query = null)  { -	if ($this->select(['SELECT' => $this->_p['keyfield']] + (array)$query)) +	if ($this->select(['SELECT' => $this->escape_name($this->_p['keyfield'])] + (array)$query))  		while ($this->iterate())  			if (($id = $this->_key) && !$this->_touchedids[$id] && $this->delete())  				$result[] = $id; |