Usunięcie plików .DS_Store oraz poprawa wzorca analizy adresu Paczkomatu w funkcji parsePaczkomatAddress

This commit is contained in:
2025-04-16 08:27:41 +02:00
parent 2078320cc1
commit 88c9002722
4 changed files with 1 additions and 1 deletions

BIN
autoload/.DS_Store vendored

Binary file not shown.

Binary file not shown.

View File

@@ -54,7 +54,7 @@ $sellasist_settings = \admin\factory\Integrations::sellasist_settings();
function parsePaczkomatAddress($input) 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)) { if (preg_match($pattern, $input, $matches)) {
return [ return [

BIN
templates/.DS_Store vendored

Binary file not shown.