mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 15:57:01 +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'])) {
|
if(!empty($options['parent_id'])) {
|
||||||
unset($options['parent_id']);
|
|
||||||
$parent_id = (int) $options['parent_id'];
|
$parent_id = (int) $options['parent_id'];
|
||||||
|
unset($options['parent_id']);
|
||||||
} else if($parent) {
|
} else if($parent) {
|
||||||
unset($options['parent']);
|
unset($options['parent']);
|
||||||
if($parent instanceof Page) {
|
if($parent instanceof Page) {
|
||||||
|
Reference in New Issue
Block a user