1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 01:25:01 +02:00

Fixes #4750 - News image placeholder. Adds another news-grid layout.

This commit is contained in:
Cameron
2022-04-06 12:09:58 -07:00
parent af0a6a5924
commit 02a7e08902
4 changed files with 46 additions and 5 deletions

View File

@@ -4564,7 +4564,7 @@ class e_parse
{
$path = $tp->replaceConstants($file, 'abs');
}
elseif (!empty($parm['legacy'])) // Search legacy path for image in a specific folder. No path, only file name provided.
elseif(!empty($parm['legacy']) && !empty($file)) // Search legacy path for image in a specific folder. No path, only file name provided.
{
$legacyPath = rtrim($parm['legacy'], '/') . '/' . $file;