mirror of
https://github.com/e107inc/e107.git
synced 2025-04-14 17:42:10 +02:00
Downloads: Fixes #1062 legacy icon path
This commit is contained in:
parent
489fb66d65
commit
0416c97400
@ -996,7 +996,7 @@ class download_shortcodes extends e_shortcode
|
||||
if (!$source) return " ";
|
||||
// list($ret[TRUE],$ret[FALSE]) = explode(chr(1), $source.chr(1)); //XXX ???
|
||||
// if (!$ret[FALSE]) $ret[FALSE] = $ret[TRUE]; //XXX ???
|
||||
$parms = array('legacy'=> e_IMAGE."icons/");
|
||||
$parms = array('legacy'=> "{e_IMAGE}icons/");
|
||||
return e107::getParser()->toIcon($source, $parms);
|
||||
//return "<img src='".e_IMAGE."icons/{$ret[($count!=0)]}' alt='*'/>";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user