Skip to content

Commit f14e75d

Browse files
committed
Fix php8.1 warning
hestiacp#2852
1 parent a2eb03a commit f14e75d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/edit/web/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
}
6464
$v_ssl_home = $data[$v_domain]['SSL_HOME'];
6565
$v_backend_template = $data[$v_domain]['BACKEND'];
66-
$v_nginx_cache = $data[$v_domain]['FASTCGI_CACHE'];
67-
$v_nginx_cache_duration = $data[$v_domain]['FASTCGI_DURATION'];
66+
$v_nginx_cache = $data[$v_domain]['FASTCGI_CACHE'] ?? '';
67+
$v_nginx_cache_duration = $data[$v_domain]['FASTCGI_DURATION'] ?? '';
6868
$v_nginx_cache_check = '';
6969
if (empty($v_nginx_cache_duration)) {
7070
$v_nginx_cache_duration = '2m';

0 commit comments

Comments
 (0)