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

Issue #5079 - Avoid division by zero.

This commit is contained in:
camer0n
2023-11-01 10:43:54 -07:00
parent faa2f8ad34
commit f037d6e688
2 changed files with 2 additions and 1 deletions

View File

@@ -493,6 +493,7 @@ class e_formTest extends \Codeception\Test\Unit
3 => array('value' => '30%', 'expected' => 'width: 30%'),
4 => array('value' => '30.4%', 'expected' => 'width: 30%'),
5 => array('value' => '30.5%', 'expected' => 'width: 31%'),
6 => array('value' => '0/0', 'expected' => 'width: 0%'),
);
foreach($tests as $var)