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