1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 15:16:44 +02:00

SQLite: Fix getting result of queries with no rows

This commit is contained in:
Jakub Vrana
2025-02-19 15:06:55 +01:00
parent a001a3a061
commit 675dbaad73

View File

@@ -47,7 +47,7 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
return false;
}
$row = $result->_result->fetchArray();
return $row[$field];
return $row ? $row[$field] : false;
}
}