1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Issue #3501 - Media-Manager icon import issue.

This commit is contained in:
Cameron
2018-10-16 11:50:16 -07:00
parent 463b81bd2f
commit 6c2c2c7f13
2 changed files with 46 additions and 0 deletions

View File

@@ -963,6 +963,12 @@ class e_form
$options['glyph'] = 1;
$options['w'] = 64;
$options['h'] = 64;
$options['media'] = '_icon';
if(!isset($options['legacyPath']))
{
$options['legacyPath'] = "{e_IMAGE}icons";
}
return $this->mediapicker($name, $default, $options);