diff --git a/frontends/php/include/classes/export/CConfigurationExport.php b/frontends/php/include/classes/export/CConfigurationExport.php index b1c8f7c7a9..b09c4f91a4 100644 --- a/frontends/php/include/classes/export/CConfigurationExport.php +++ b/frontends/php/include/classes/export/CConfigurationExport.php @@ -1119,6 +1119,13 @@ class CConfigurationExport { 'mediatypeids' => $mediatypeids, 'preservekeys' => true ]); + + foreach ($this->data['mediaTypes'] as &$media_type) { + if ($media_type['type'] == MEDIA_TYPE_WEBHOOK) { + CArrayHelper::sort($media_type['parameters'], ['name']); + } + } + unset($media_type); } /**