1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-08 15:57:01 +02:00

Fix issue in FieldtypeMulti where $page->field_name("limit=0") would return a pagination rather than ALL

This commit is contained in:
Ryan Cramer
2025-08-03 12:19:07 -04:00
parent 03e7b13fce
commit c923a1b568

View File

@@ -503,7 +503,7 @@ abstract class FieldtypeMulti extends Fieldtype {
} else if($col === 'limit') {
$value = (int) $value;
if($value > 0) $limit = $value;
if($value > -1) $limit = $value;
} else if($col === 'start') {
$value = (int) $value;