1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

Issue #1342 - Correction for encoded urls.

This commit is contained in:
Cameron
2016-02-09 12:21:37 -08:00
parent 2ccb18696a
commit 61f2712c09

View File

@@ -3449,9 +3449,12 @@ class e_parser
if(strpos($file,'e_MEDIA')!==false || strpos($file,'e_THEME')!==false) //v2.x path.
{
$path = $tp->thumbUrl($file,null,null);
$path = $tp->thumbUrl($file,$parm,null);
$parm['srcset'] = $tp->thumbSrcSet($file, '2x');
if(empty($parm['x']))
{
$parm['srcset'] = $tp->thumbSrcSet($file, '2x');
}
if(empty($parm['w']))
{