mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 16:26:59 +02:00
Add support for processwire/processwire-issues#1795
This commit is contained in:
@@ -48,7 +48,7 @@ class PageValues extends Wire {
|
||||
$index = rtrim($index, ']');
|
||||
if(ctype_digit($index)) $index = (int) $index;
|
||||
}
|
||||
if($value instanceof Page) {
|
||||
if($value instanceof Page && !in_array($key, $wireArrayProperties)) {
|
||||
// value is a Page
|
||||
if(isset(PageProperties::$traversalReturnTypes[$k])) {
|
||||
// traversal property: Page or PageArray
|
||||
|
Reference in New Issue
Block a user