No direct output from $this->renderSection |
In the help itself, <?= is used already. Nevertheless, the function renderSection outputs the content directly via echo. It would be helpful if the value was only returned or if it could at least be controlled via a parameter.
This would have the advantage that, for example, if a page title is not set, you could maintain a standard for example with ?: parameter. Code: <title><?= $this->renderSection('title') ?></title> Code: <title><?= $this->renderSection('title') ?: 'Fallback title' ?></title>
The PR has been merged. So this bug will be fixed in v4.6.0.
|
Welcome Guest, Not a member yet? Register Sign In |