mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Finish SQLite
Don't require num_rows
This commit is contained in:
@@ -626,7 +626,7 @@ function search_tables() {
|
||||
$name = $adminer->tableName($table_status);
|
||||
if (isset($table_status["Engine"]) && $name != "" && (!$_POST["tables"] || in_array($table, $_POST["tables"]))) {
|
||||
$result = $connection->query("SELECT" . limit("1 FROM " . table($table), " WHERE " . implode(" AND ", $adminer->selectSearchProcess(fields($table), array())), 1));
|
||||
if ($result->num_rows) {
|
||||
if ($result->fetch_row()) {
|
||||
if (!$found) {
|
||||
echo "<ul>\n";
|
||||
$found = true;
|
||||
|
Reference in New Issue
Block a user