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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user