Closed Pascalmh closed 8 years ago
This $page->documents()->filterBy('language', '!=', '')->toJson() seems to call the ratio() function in kirby/toolkit/lib/dimensions.php
$page->documents()->filterBy('language', '!=', '')->toJson()
kirby/toolkit/lib/dimensions.php
Warning: Division by zero in kirby/toolkit/lib/dimensions.php on line 68
(I am on Version 2.2.3)
I just fixed this on the develop branch.
This
$page->documents()->filterBy('language', '!=', '')->toJson()
seems to call the ratio() function inkirby/toolkit/lib/dimensions.php
(I am on Version 2.2.3)