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:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user