1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 23:57:29 +02:00

MongoDB: Fix num_rows

This commit is contained in:
Jakub Vrana
2021-02-09 10:56:52 +01:00
parent 3a3df6962b
commit 633e7ced9c

View File

@@ -58,7 +58,7 @@ if (isset($_GET["mongo"])) {
} }
} }
} }
$this->num_rows = $result->count; $this->num_rows = count($this->_rows);
} }
function fetch_assoc() { function fetch_assoc() {