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
ISPConfig
ISPConfig 3
Commits
2ccc5f84
Commit
2ccc5f84
authored
Aug 23, 2016
by
Till Brehm
Browse files
Set maildir_format in remote mail_user_add function when it does not exist in params array.
parent
82fb0fad
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/remote.d/mail.inc.php
View file @
2ccc5f84
...
...
@@ -217,6 +217,7 @@ class remoting_mail extends remoting {
//* Set a few params to non empty values that will be overwritten by mail_plugin
if
(
!
isset
(
$params
[
'uid'
]))
$params
[
'uid'
]
=
-
1
;
if
(
!
isset
(
$params
[
'gid'
]))
$params
[
'gid'
]
=
-
1
;
if
(
!
isset
(
$params
[
'maildir_format'
]))
$params
[
'maildir_format'
]
=
'maildir'
;
$affected_rows
=
$this
->
insertQuery
(
'../mail/form/mail_user.tform.php'
,
$client_id
,
$params
);
return
$affected_rows
;
...
...
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