Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
François GrizzlyDev
ISPConfig 3
Commits
632ee10f
Commit
632ee10f
authored
Apr 09, 2021
by
Tommaso Basilici
Browse files
Update interface/web/client/client_edit.php
parent
596e30c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/client/client_edit.php
View file @
632ee10f
...
...
@@ -426,15 +426,16 @@ class page_action extends tform_actions {
}
// lock and cancel
if
(
!
isset
(
$this
->
dataRecord
[
'locked'
]))
$this
->
dataRecord
[
'locked'
]
=
'n'
;
if
(
isset
(
$conf
[
'demo_mode'
])
&&
$conf
[
'demo_mode'
]
!=
true
&&
$this
->
dataRecord
[
"locked"
]
!=
$this
->
oldDataRecord
[
'locked'
])
{
$lock
=
functions
::
func_client_lock
(
$this
->
id
,
$this
->
dataRecord
[
"locked"
]);
}
if
(
!
isset
(
$this
->
dataRecord
[
'canceled'
]))
$this
->
dataRecord
[
'canceled'
]
=
'n'
;
if
(
isset
(
$conf
[
'demo_mode'
])
&&
$conf
[
'demo_mode'
]
!=
true
&&
$this
->
dataRecord
[
"canceled"
]
!=
$this
->
oldDataRecord
[
'canceled'
])
{
$cancel
=
functions
::
func_client_cancel
(
$this
->
id
,
$this
->
dataRecord
[
"canceled"
]);
}
if
(
!
isset
(
$this
->
dataRecord
[
'locked'
]))
$this
->
dataRecord
[
'locked'
]
=
'n'
;
if
(
isset
(
$conf
[
'demo_mode'
])
&&
$conf
[
'demo_mode'
]
!=
true
&&
$this
->
dataRecord
[
"locked"
]
!=
$this
->
oldDataRecord
[
'locked'
])
{
$lock
=
$app
->
functions
->
func_client_lock
(
$this
->
id
,
$this
->
dataRecord
[
"locked"
]);
}
if
(
!
isset
(
$this
->
dataRecord
[
'canceled'
]))
$this
->
dataRecord
[
'canceled'
]
=
'n'
;
if
(
isset
(
$conf
[
'demo_mode'
])
&&
$conf
[
'demo_mode'
]
!=
true
&&
$this
->
dataRecord
[
"canceled"
]
!=
$this
->
oldDataRecord
[
'canceled'
])
{
$cancel
=
$app
->
functions
->
func_client_cancel
(
$this
->
id
,
$this
->
dataRecord
[
"canceled"
]);
}
// language changed
if
(
isset
(
$conf
[
'demo_mode'
])
&&
$conf
[
'demo_mode'
]
!=
true
&&
isset
(
$this
->
dataRecord
[
'language'
])
&&
$this
->
dataRecord
[
'language'
]
!=
''
&&
$this
->
oldDataRecord
[
'language'
]
!=
$this
->
dataRecord
[
'language'
])
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment