missing quotes added

This commit is contained in:
ibs 2023-12-15 01:53:52 +01:00
parent 042a64589b
commit fa9b572e3e

View File

@ -1230,7 +1230,7 @@ class DB{
$sql = "UPDATE `$tablename` SET ";
foreach($ArrCols as $key=>$value) {
if($key!=$pkname && (isset($ziel[$key]) || !$zielspalten)) {
$sqla[] = $key." = '".($escape?$this->real_escape_string($value):$value)."' ";
$sqla[] = "`".$key."` = '".($escape?$this->real_escape_string($value):$value)."' ";
}
}
if(!empty($sqla)) {