mirror of
https://github.com/processwire/processwire.git
synced 2025-08-18 04:22:10 +02:00
Fix issue processwire/processwire-issues#1532
This commit is contained in:
@@ -75,6 +75,7 @@ class Fieldgroups extends WireSaveableItemsLookup {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function getAll() {
|
public function getAll() {
|
||||||
|
if($this->useLazy()) $this->loadAllLazyItems();
|
||||||
return $this->getWireArray();
|
return $this->getWireArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -83,6 +83,7 @@ class Templates extends WireSaveableItems {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function getAll() {
|
public function getAll() {
|
||||||
|
if($this->useLazy()) $this->loadAllLazyItems();
|
||||||
return $this->getWireArray();
|
return $this->getWireArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user