]> git.joonet.de Git - adminer.git/commitdiff
MongoDB: Fix operators
authorJakub Vrana <jakub@vrana.cz>
Tue, 9 Feb 2021 19:12:41 +0000 (20:12 +0100)
committerJakub Vrana <jakub@vrana.cz>
Tue, 9 Feb 2021 19:12:41 +0000 (20:12 +0100)
adminer/drivers/mongo.inc.php

index db43a67da30fee06a1f02e3de340f45b1eecea29..6b043933ad2a7379f5d1d5c974a66d5aeedc9400 100644 (file)
@@ -735,10 +735,11 @@ if (isset($_GET["mongo"])) {
        }
 
        function driver_config() {
+               global $operators;
                return array(
                        'possible_drivers' => array("mongo", "mongodb"),
                        'jush' => "mongo",
-                       'operators' => array(""),
+                       'operators' => $operators,
                        'functions' => array(),
                        'grouping' => array(),
                        'edit_functions' => array(array("json")),