mirror of
https://github.com/vrana/adminer.git
synced 2025-08-24 07:02:51 +02:00
Limit non-unique where updates
This commit is contained in:
@@ -124,7 +124,7 @@ if ($_POST && !$error) {
|
||||
? $driver->delete($TABLE, $where2, 1)
|
||||
: ($_POST["clone"]
|
||||
? queries("INSERT" . limit1($query, $where2))
|
||||
: $driver->update($TABLE, $set, $where2)
|
||||
: $driver->update($TABLE, $set, $where2, 1)
|
||||
)
|
||||
);
|
||||
if (!$result) {
|
||||
|
Reference in New Issue
Block a user