fix(legacy): args comma syntax error

This commit is contained in:
jo 2022-08-24 12:13:04 +02:00 committed by Kyle Robbertze
parent 3f2f2cb50b
commit 9001a18f2d
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ class CORSHelper
return array_merge( return array_merge(
$config['allowedCorsOrigins'], $config['allowedCorsOrigins'],
self::getDatabaseAllowedOrigins(), self::getDatabaseAllowedOrigins()
); );
} }
@ -46,7 +46,7 @@ class CORSHelper
'trim', 'trim',
explode( explode(
PHP_EOL, PHP_EOL,
Application_Model_Preference::GetAllowedCorsUrls(), Application_Model_Preference::GetAllowedCorsUrls()
) )
); );
} }

View File

@ -37,7 +37,7 @@ class Application_Service_MediaService
$newTempFilePath, $newTempFilePath,
$importedStorageDirectory, $importedStorageDirectory,
basename($originalFilename), basename($originalFilename),
$fileId, $fileId
); );
return $newTempFilePath; return $newTempFilePath;