|
@@ -158,7 +158,7 @@ discard block |
|
|
block discarded – undo |
|
158
|
158
|
*/ |
|
159
|
159
|
public function insertItem(string $table, array $queryOptions): array |
|
160
|
160
|
{ |
|
161
|
|
- list($fields, ,) = $this->getFields($table, $queryOptions); |
|
|
161
|
+ list($fields,,) = $this->getFields($table, $queryOptions); |
|
162
|
162
|
|
|
163
|
163
|
// From edit.inc.php |
|
164
|
164
|
$values = []; |
|
@@ -188,7 +188,7 @@ discard block |
|
|
block discarded – undo |
|
188
|
188
|
*/ |
|
189
|
189
|
public function updateItem(string $table, array $queryOptions): array |
|
190
|
190
|
{ |
|
191
|
|
- list($fields, $where, ) = $this->getFields($table, $queryOptions); |
|
|
191
|
+ list($fields, $where,) = $this->getFields($table, $queryOptions); |
|
192
|
192
|
|
|
193
|
193
|
// From edit.inc.php |
|
194
|
194
|
$indexes = $this->driver->indexes($table); |
Please login to merge, or discard this patch.