File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ function onBeforeUpdate() {
369369 } else {
370370 $ remote_ips = explode (", " , $ global_config ['default_remote_dbserver ' ]);
371371 }
372- if (!in_array ($ server_config ['ip_address ' ], $ default_remote_db )) { $ remote_ips [] = $ server_config ['ip_address ' ]; }
372+ if (!in_array ($ server_config ['ip_address ' ], $ remote_ips )) { $ remote_ips [] = $ server_config ['ip_address ' ]; }
373373
374374 if ($ server_config ['ip_address ' ]!='' ) {
375375 if ($ this ->dataRecord ['remote_access ' ] != 'y ' ){
@@ -459,7 +459,7 @@ function onBeforeInsert() {
459459 $ remote_ips = explode (", " , $ global_config ['default_remote_dbserver ' ]);
460460 }
461461
462- if (!in_array ($ server_config ['ip_address ' ], $ default_remote_db )) { $ remote_ips [] = $ server_config ['ip_address ' ]; }
462+ if (!in_array ($ server_config ['ip_address ' ], $ remote_ips )) { $ remote_ips [] = $ server_config ['ip_address ' ]; }
463463
464464 if ($ server_config ['ip_address ' ]!='' ) {
465465 if ($ this ->dataRecord ['remote_access ' ] != 'y ' ){
You can’t perform that action at this time.
0 commit comments