mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +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
|
if (!$where) { // insert
|
||||||
$result = $driver->select($TABLE, array("*"), $where, array("*"));
|
$result = $driver->select($TABLE, array("*"), $where, array("*"));
|
||||||
$row = ($result ? $result->fetch_assoc() : false);
|
$row = ($result ? $result->fetch_assoc() : false);
|
||||||
|
@@ -738,7 +738,7 @@ function column_foreign_keys($table) {
|
|||||||
/** Compute fields() from $_POST edit data
|
/** Compute fields() from $_POST edit data
|
||||||
* @return Field[] same as fields()
|
* @return Field[] same as fields()
|
||||||
*/
|
*/
|
||||||
function fields_from_edit() {
|
function fields_from_edit() { // used by Mongo and SimpleDB
|
||||||
global $driver;
|
global $driver;
|
||||||
$return = array();
|
$return = array();
|
||||||
foreach ((array) $_POST["field_keys"] as $key => $val) {
|
foreach ((array) $_POST["field_keys"] as $key => $val) {
|
||||||
|
Reference in New Issue
Block a user