mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix(settings): check if activeSectionId and activeSectionType are defined before using them
Closes #41513 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
c75fbf8a83
commit
0d39079c99
1 changed files with 1 additions and 1 deletions
|
|
@ -84,6 +84,6 @@ script('files', 'jquery.fileupload');
|
|||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div id="app-content" data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>" data-active-section-type="<?php print_unescaped($_['activeSectionType']) ?>">
|
||||
<div id="app-content" <?php if (!empty($_['activeSectionId'])) { ?> data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>" <?php } if (!empty($_['activeSectionType'])) { ?> data-active-section-type="<?php print_unescaped($_['activeSectionType']) ?>" <?php } ?>>
|
||||
<?php print_unescaped($_['content']); ?>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue