mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
missing quotes added
This commit is contained in:
parent
042a64589b
commit
fa9b572e3e
@ -1230,7 +1230,7 @@ class DB{
|
|||||||
$sql = "UPDATE `$tablename` SET ";
|
$sql = "UPDATE `$tablename` SET ";
|
||||||
foreach($ArrCols as $key=>$value) {
|
foreach($ArrCols as $key=>$value) {
|
||||||
if($key!=$pkname && (isset($ziel[$key]) || !$zielspalten)) {
|
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)) {
|
if(!empty($sqla)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user