diff --git a/autoload/.DS_Store b/autoload/.DS_Store deleted file mode 100644 index 3239922..0000000 Binary files a/autoload/.DS_Store and /dev/null differ diff --git a/autoload/front/.DS_Store b/autoload/front/.DS_Store deleted file mode 100644 index 7285fd1..0000000 Binary files a/autoload/front/.DS_Store and /dev/null differ diff --git a/cron.php b/cron.php index 82d6056..ad08ca0 100644 --- a/cron.php +++ b/cron.php @@ -54,7 +54,7 @@ $sellasist_settings = \admin\factory\Integrations::sellasist_settings(); function parsePaczkomatAddress($input) { - $pattern = '/^(\w+)\s+\|\s+([^,]+),\s+(\d{2}-\d{3})\s+(.+)$/'; + $pattern = '/^([\w-]+)\s+\|\s+([^,]+),\s+(\d{2}-\d{3})\s+(.+)$/'; if (preg_match($pattern, $input, $matches)) { return [ diff --git a/templates/.DS_Store b/templates/.DS_Store deleted file mode 100644 index 96797d4..0000000 Binary files a/templates/.DS_Store and /dev/null differ