arry key access
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sergio Álvarez 2023-08-28 10:15:42 +02:00
parent 30caed523b
commit 164e339870
No known key found for this signature in database
GPG Key ID: 622780889DFDBDA5
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ $buttons = [
$str = $result = $_GET['str'] ?? '';
$action = $_GET['action'] ?? '';
$plain = str_contains($_SERVER['HTTP_ACCEPT'], 'text/plain');
$plain = str_contains($_SERVER['HTTP_ACCEPT'] ?? '', 'text/plain');
$help = 'https://www.php.net/manual/';
$jsonEncodeOptions = JSON_PRETTY_PRINT | JSON_PRESERVE_ZERO_FRACTION | JSON_UNESCAPED_SLASHES;