$boxData['visible'],
]);
}
- }
- // update box conditions
- foreach ($this->parameters['boxToPage'] as $boxData) {
- $this->createPageConditionForBox($boxData['boxID'], [$page]);
+ // update box conditions
+ foreach ($this->parameters['boxToPage'] as $boxData) {
+ $this->createPageConditionForBox($boxData['boxID'], [$page]);
+ }
}
// save template
}
}
}
- }
- // update box conditions
- foreach ($this->parameters['boxToPage'] as $boxData) {
- $this->createPageConditionForBox($boxData['boxID'], $this->getObjects());
+ // update box conditions
+ foreach ($this->parameters['boxToPage'] as $boxData) {
+ $this->createPageConditionForBox($boxData['boxID'], $this->getObjects());
+ }
}
}