Skip to content

Commit 0186114

Browse files
committed
Fix issue with not saving data
1 parent 9f2930c commit 0186114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/edit/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
}
338338

339339
// Enable/Disable nginx cache
340-
if (($_SESSION['WEB_SYSTEM'] == 'nginx') && ($v_nginx_cache_check != $_POST['v_nginx_cache_check'] ) && ($v_nginx_cache_duration != $_POST['v_nginx_cache_duration'] && $_POST['v_nginx_cache'] = "yes" ) && (empty($_SESSION['error_msg']))) {
340+
if (($_SESSION['WEB_SYSTEM'] == 'nginx') && ($v_nginx_cache_check != $_POST['v_nginx_cache_check'] ) || ($v_nginx_cache_duration != $_POST['v_nginx_cache_duration'] && $_POST['v_nginx_cache'] = "yes" ) && (empty($_SESSION['error_msg']))) {
341341
if ( $_POST['v_nginx_cache_check'] == 'on' ) {
342342
if (empty ($_POST['v_nginx_cache_duration'])){
343343
echo $_POST['v_nginx_cache_duration'] = "2m";

0 commit comments

Comments
 (0)