1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 01:54:00 +02:00

Pass $result to last_id

This commit is contained in:
Jakub Vrana
2025-03-17 19:40:21 +01:00
parent 17c0960e7f
commit 19313a8dab
11 changed files with 12 additions and 11 deletions

View File

@@ -150,7 +150,7 @@ if ($_POST && !$error) {
}
$message = lang('%d item(s) have been affected.', $affected);
if ($_POST["clone"] && $result && $affected == 1) {
$last_id = last_id();
$last_id = last_id($result);
if ($last_id) {
$message = lang('Item%s has been inserted.', " $last_id");
}