Usunięcie plików .DS_Store z katalogów autoload, templates i templates_user
This commit is contained in:
BIN
autoload/.DS_Store
vendored
BIN
autoload/.DS_Store
vendored
Binary file not shown.
BIN
autoload/front/.DS_Store
vendored
BIN
autoload/front/.DS_Store
vendored
Binary file not shown.
3
cron.php
3
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 [
|
||||
@@ -503,7 +503,6 @@ if ( $apilo_settings['enabled'] and $apilo_settings['sync_orders'] and $apilo_se
|
||||
$access_token = \admin\factory\Integrations::apilo_get_access_token();
|
||||
|
||||
$order_date = new DateTime( $order['date_order'] );
|
||||
|
||||
$paczkomatData = parsePaczkomatAddress( $order['inpost_paczkomat'] );
|
||||
$orlenPointData = parseOrlenAddress( $order['orlen_point'] );
|
||||
|
||||
|
||||
BIN
templates/.DS_Store
vendored
BIN
templates/.DS_Store
vendored
Binary file not shown.
BIN
templates_user/.DS_Store
vendored
BIN
templates_user/.DS_Store
vendored
Binary file not shown.
BIN
templates_user/components/.DS_Store
vendored
BIN
templates_user/components/.DS_Store
vendored
Binary file not shown.
Reference in New Issue
Block a user