mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +02:00
Prevent PHP 7.1 warning about non-numeric values
This commit is contained in:
@@ -129,7 +129,7 @@ if (isset($_GET["mongo"])) {
|
||||
return new Min_Result($this->_conn->_db->selectCollection($table)
|
||||
->find(array(), $select)
|
||||
->sort($sort)
|
||||
->limit(+$limit)
|
||||
->limit($limit != "" ? +$limit : 0)
|
||||
->skip($page * $limit)
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user