]> git.joonet.de Git - adminer.git/commitdiff
Add comment
authorJakub Vrana <jakub@vrana.cz>
Wed, 26 Mar 2025 09:25:13 +0000 (10:25 +0100)
committerJakub Vrana <jakub@vrana.cz>
Wed, 26 Mar 2025 09:25:13 +0000 (10:25 +0100)
adminer/edit.inc.php
adminer/include/functions.inc.php

index c3fdb33ecd5b23fa39764e8a4ad6f8507f1239a1..c8039c375b1a56a780dd64bfac08d58efb1cce5d 100644 (file)
@@ -92,7 +92,7 @@ if ($_POST["save"]) {
        }
 }
 
-if (!support("table") && !$fields) {
+if (!support("table") && !$fields) { // used by Mongo and SimpleDB
        if (!$where) { // insert
                $result = $driver->select($TABLE, array("*"), $where, array("*"));
                $row = ($result ? $result->fetch_assoc() : false);
index 7292c4afbab59a513c42d242d28e4ab05ee7fa3c..073bda500670e17f94930db01733c866266affb5 100644 (file)
@@ -738,7 +738,7 @@ function column_foreign_keys($table) {
 /** Compute fields() from $_POST edit data
 * @return Field[] same as fields()
 */
-function fields_from_edit() {
+function fields_from_edit() { // used by Mongo and SimpleDB
        global $driver;
        $return = array();
        foreach ((array) $_POST["field_keys"] as $key => $val) {