mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 14:46:36 +02:00
Add comment
This commit is contained in:
@@ -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);
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user