Skip to content

Commit 177ef17

Browse files
committed
AC-9883: Fix Catalog System Config
1 parent 0fd52ab commit 177ef17

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Config/Model/Config/Backend

1 file changed

+1
-1
lines changed

app/code/Magento/Config/Model/Config/Backend/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ private function setValueAfterValidation(string $value): void
288288
{
289289
// avoid intercepting value
290290
if (!preg_match('/^[A-Za-z0-9._\/ -]*$/', $value)) {
291-
throw new LocalizedException(__('%1', 'Invalid file name'));
291+
throw new LocalizedException(__('Invalid file name'));
292292
}
293293

294294
$this->setValue($value);

0 commit comments

Comments
 (0)