1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-14 02:23:59 +02:00

PostgreSQL: Fix clone after e395fe5

This commit is contained in:
Jakub Vrana
2025-03-22 20:55:51 +01:00
parent 359fdf3d07
commit 9b162e8291
3 changed files with 14 additions and 15 deletions

View File

@@ -125,7 +125,7 @@ if ($_POST && !$error) {
$result = ($_POST["delete"]
? $driver->delete($TABLE, $where_check)
: ($_POST["clone"]
? queries("INSERT $query$where_check")
? queries("INSERT $query$where_check" . $driver->insertReturning($TABLE))
: $driver->update($TABLE, $set, $where_check)
)
);