1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Merge pull request #4608 from Jimmi08/patch-30

Fixes #4607 banner correct size on news detail page
This commit is contained in:
Cameron 2021-10-29 10:26:24 -07:00 committed by GitHub
commit 4fb280d122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,8 @@ if(!empty($menu_pref['banner_campaign']) /*&& !empty($menu_pref['banner_amount']
if(!empty($menu_pref['banner_width']))
{
e107::getParser()->thumbWidth($menu_pref['banner_width']);
e107::getParser()->thumbHeight(0);
e107::getParser()->thumbCrop(0);
}
@ -198,4 +200,4 @@ if(!empty($menu_pref['banner_campaign']) /*&& !empty($menu_pref['banner_amount']
}
}
}