File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1460,9 +1460,13 @@ function onBeforeUpdate () {
14601460 $ this ->dataRecord ["domain " ] = $ rec ['domain ' ];
14611461 }
14621462 if (isset ($ this ->dataRecord ["ip_address " ]) && $ rec ['ip_address ' ] != $ this ->dataRecord ["ip_address " ] && $ rec ['sys_perm_group ' ] != 'riud ' ) {
1463+ //* Add a error message and switch back to old server
1464+ $ app ->tform ->errorMessage .= $ app ->lng ('The IP can not be changed. Please ask your Administrator if you want to change the IPv4-Address. ' );
14631465 $ this ->dataRecord ["ip_address " ] = $ rec ['ip_address ' ];
14641466 }
14651467 if (isset ($ this ->dataRecord ["ipv6_address " ]) && $ rec ['ipv6_address ' ] != $ this ->dataRecord ["ipv6_address " ] && $ rec ['sys_perm_group ' ] != 'riud ' ) {
1468+ //* Add a error message and switch back to old server
1469+ $ app ->tform ->errorMessage .= $ app ->lng ('The IP can not be changed. Please ask your Administrator if you want to change the IPv6-Address. ' );
14661470 $ this ->dataRecord ["ipv6_address " ] = $ rec ['ipv6_address ' ];
14671471 }
14681472 unset($ rec );
You can’t perform that action at this time.
0 commit comments