commit 69f25111fd3fb7fdfdab0c6e6f140b3bdc784498 parent 033a21cf87061a46ed4e14d3df4d2b59f2267c10 Author: Timo A. Hummel <felicitus@felicitus.org> Date: Mon, 19 Mar 2018 12:13:43 +0100 Added bugfix where the part limit does not work when specifying -1 Diffstat:
M | src/PartKeepr/PartBundle/Services/PartService.php | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PartKeepr/PartBundle/Services/PartService.php b/src/PartKeepr/PartBundle/Services/PartService.php @@ -104,7 +104,7 @@ class PartService */ public function checkPartLimit() { - if ($this->partLimit !== false) { + if ($this->partLimit !== false || $this->partLimit != "-1") { if ($this->getPartCount() >= $this->partLimit) { return true; }