mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-24 07:11:32 +00:00
[SOGo, Dovecot] Remove unnecessary likes from sql queries
[Web] Filter transport destinations to prevent empty destinations
This commit is contained in:
@@ -245,7 +245,7 @@ function transport($_action, $_data = null) {
|
||||
}
|
||||
}
|
||||
}
|
||||
$destinations = array_values(array_unique($destinations));
|
||||
$destinations = array_filter(array_values(array_unique($destinations)));
|
||||
if (empty($destinations)) { return false; }
|
||||
if (isset($next_hop_matches[1])) {
|
||||
if (in_array($next_hop_clean, $existing_nh)) {
|
||||
|
||||
Reference in New Issue
Block a user