mirror of
https://github.com/processwire/processwire.git
synced 2025-08-07 23:38:29 +02:00
Fix option order issue in $pages->getByIDs() method
This commit is contained in:
@@ -757,8 +757,8 @@ class Pages extends Wire {
|
||||
}
|
||||
|
||||
if(!empty($options['parent_id'])) {
|
||||
unset($options['parent_id']);
|
||||
$parent_id = (int) $options['parent_id'];
|
||||
unset($options['parent_id']);
|
||||
} else if($parent) {
|
||||
unset($options['parent']);
|
||||
if($parent instanceof Page) {
|
||||
|
Reference in New Issue
Block a user