We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9034cc2 commit 6862ed4Copy full SHA for 6862ed4
apps/settings/templates/settings/frame.php
@@ -84,6 +84,6 @@
84
</ul>
85
</nav>
86
</div>
87
-<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 } ?>>
88
<?php print_unescaped($_['content']); ?>
89
0 commit comments