We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1ccee4 commit fa4c8e8Copy full SHA for fa4c8e8
files/lib/data/woltlab/pluginstore/file/WoltlabPluginstoreFileAction.class.php
@@ -61,7 +61,7 @@ public function toggle() {
61
$this->readObjects();
62
}
63
64
- foreach ($this->objects as $fileEditor) {
+ foreach ($this->getObjects() as $fileEditor) {
65
$fileEditor->update([
66
'isDisabled' => ($fileEditor->getDecoratedObject()->isDisabled ? 0 : 1)
67
]);
@@ -89,7 +89,7 @@ public function fetchLocalizedTitle() {
89
90
91
92
93
foreach (LanguageFactory::getInstance()->getLanguages() as $language) {
94
$languageCode = mb_strtoupper($language->getFixedLanguageCode());
95
$replacementMap = [
0 commit comments