1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 22:56:46 +02:00

Add missing namespace

This commit is contained in:
Jakub Vrana
2025-03-17 00:49:12 +01:00
parent 22a3efe4ed
commit c02a7d6abe

View 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 '';
}