]> git.joonet.de Git - adminer.git/commitdiff
Add missing namespace
authorJakub Vrana <jakub@vrana.cz>
Sun, 16 Mar 2025 23:49:12 +0000 (00:49 +0100)
committerJakub Vrana <jakub@vrana.cz>
Sun, 16 Mar 2025 23:49:12 +0000 (00:49 +0100)
plugins/pretty-json-column.php

index 2a4bc2ee72643a8e073a234912932c0ee750d549..374fd782020cee02267bd9bfa856996921323df9 100644 (file)
@@ -18,7 +18,7 @@ class AdminerPrettyJsonColumn {
                $json = $this->testJson($value);
                if ($json !== $value) {
                        $jsonText = json_encode($json, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
-                       return "<textarea$attrs cols='50' rows='20'>" . h($jsonText) . "</textarea>";
+                       return "<textarea$attrs cols='50' rows='20'>" . Adminer\h($jsonText) . "</textarea>";
                }
                return '';
        }