Fixed error event history VC

This commit is contained in:
Daniel Barbero Martin 2020-02-18 08:08:56 +01:00
parent dd437be186
commit 1ab92fe798
1 changed files with 4 additions and 4 deletions

View File

@ -107,12 +107,12 @@ final class EventsHistory extends Item
$data['height'] = 80;
}
if ((int) $data['width'] < 10) {
$data['width'] = 10;
if ((int) $data['width'] < 11) {
$data['width'] = 11;
}
if ((int) $data['height'] < 5) {
$data['height'] = 5;
if ((int) $data['height'] < 11) {
$data['height'] = 11;
}
// Use the same HTML output as the old VC.