Skip to content
Snippets Groups Projects
Commit 899386c4 authored by Oleksandr Kuzava's avatar Oleksandr Kuzava
Browse files

Issue #3280178: Import - file_exists() function make images not associated in...

parent 7e8cf0db
No related branches found
No related tags found
1 merge request!16Issue #3280178: Import - file_exists() function make images not associated in...
......@@ -263,8 +263,8 @@ class ContentImporter implements ContentImporterInterface {
$file = reset($files);
}
else {
if (!file_exists($file_item['url'])) {
break;
if (file($file_item['url']) === FALSE) {
continue;
}
$content = file_get_contents($file_item['url']);
......@@ -279,7 +279,7 @@ class ContentImporter implements ContentImporterInterface {
}
if (!$file) {
break;
continue;
}
$file_value = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment