Skip to content

Commit

Permalink
copage: fixed placeholder editing
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Oct 27, 2024
1 parent 397bf55 commit 21e6971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/COPage/classes/class.ilPageObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -3013,7 +3013,7 @@ public function getPCModel(): array
$config = $this->getPageConfig();
foreach ($this->pc_definition->getPCDefinitions() as $def) {
$model_provider = $this->pc_definition->getPCModelProviderByName($def["name"]);
if ($config->getEnablePCType($def["name"])) {
if ($config->getEnablePCType($def["name"]) || $def["name"] === "PlaceHolder") {
if (!is_null($model_provider)) {
foreach ($model_provider->getModels(
$this->dom_util,
Expand Down

0 comments on commit 21e6971

Please sign in to comment.