1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +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

@@ -680,7 +680,7 @@ if (isset($_GET["sqlite"])) {
return queries("BEGIN");
}
function last_id() {
function last_id($result) {
return get_val("SELECT LAST_INSERT_ROWID()");
}