1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

BC fix for banner image preview in admin area.

This commit is contained in:
Cameron 2019-06-06 07:40:02 -07:00
parent d53cba4e8e
commit 9d2fcaf165

View File

@ -449,7 +449,7 @@ class banner_form_ui extends e_admin_form_ui
switch($mode)
{
case 'read': // List Page
return e107::getParser()->toImage($curVal, array('h'=>100));
return e107::getParser()->toImage($curVal, array('h'=>100, 'legacy'=>'{e_IMAGE}banners'));
break;
case 'write': // Edit Page