1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 10:04:07 +02:00

Code style: Indent long statements

This commit is contained in:
Jakub Vrana
2025-03-05 15:01:05 +01:00
parent ed5de27dd3
commit 105999f62e
12 changed files with 26 additions and 19 deletions

View File

@@ -228,7 +228,8 @@ $set = null;
if (isset($rights["insert"]) || !support("table")) {
$params = array();
foreach ((array) $_GET["where"] as $val) {
if (isset($foreign_keys[$val["col"]]) && count($foreign_keys[$val["col"]]) == 1
if (
isset($foreign_keys[$val["col"]]) && count($foreign_keys[$val["col"]]) == 1
&& ($val["op"] == "=" || (!$val["op"] && (is_array($val["val"]) || !preg_match('~[_%]~', $val["val"])))) // LIKE in Editor
) {
$params["set" . "[" . bracket_escape($val["col"]) . "]"] = $val["val"];