mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Code style: avoid excesive mixing of PHP and HTML
This commit is contained in:
@@ -73,8 +73,8 @@ if (isset($_GET["mongo"])) {
|
||||
(is_a($val, 'MongoDB\BSON\Binary') ? $val->getData() : //! allow downloading
|
||||
(is_a($val, 'MongoDB\BSON\Regex') ? "$val" :
|
||||
(is_object($val) || is_array($val) ? json_encode($val, 256) : // 256 = JSON_UNESCAPED_UNICODE
|
||||
$val // MongoMinKey, MongoMaxKey
|
||||
)))));
|
||||
$val))))) // MongoMinKey, MongoMaxKey
|
||||
;
|
||||
}
|
||||
$this->rows[] = $row;
|
||||
foreach ($row as $key => $val) {
|
||||
|
Reference in New Issue
Block a user