1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-11-28 08:52:00 +02:00

readd imapsync fix

This commit is contained in:
FreddleSpl0it 2022-07-13 17:13:25 +02:00
parent bee762737e
commit f724662874
No known key found for this signature in database
GPG Key ID: 6315227FF33D2425

View File

@ -338,7 +338,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
$custom_params = (empty(trim($_data['custom_params']))) ? '' : trim($_data['custom_params']);
// validate custom params
foreach (explode(' -', $custom_params) as $param){
foreach (explode('-', $custom_params) as $param){
if(empty($param)) continue;
if (str_contains(explode('=', $param)[0], ' ')) {
@ -1793,7 +1793,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
}
// validate custom params
foreach (explode(' -', $custom_params) as $param){
foreach (explode('-', $custom_params) as $param){
if(empty($param)) continue;
if (str_contains(explode('=', $param)[0], ' ')) {