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
Guilherme Filippo
ISPConfig 3
Commits
b998c509
Commit
b998c509
authored
Mar 01, 2009
by
tbrehm
Browse files
Fixed: FS#527 - Client can have a module for Startmodule even if it is disabled
parent
2c05fad7
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/admin/users_edit.php
View file @
b998c509
...
...
@@ -57,6 +57,14 @@ class page_action extends tform_actions {
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
'startmodule_err'
];
}
}
function
onBeforeUpdate
()
{
global
$app
,
$conf
;
if
(
!
in_array
(
$this
->
dataRecord
[
'startmodule'
],
$this
->
dataRecord
[
'modules'
]))
{
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
'startmodule_err'
];
}
}
}
...
...
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