Skip to content

Commit

Permalink
Fix admin permissions page in PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
svivian committed Jul 4, 2023
1 parent 5641be5 commit 16e03e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qa-include/qa-theme-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ public function qa_html_theme_base($template, $content, $rooturl, $request)
public function output_array($elements)
{
foreach ($elements as $element) {
$line = str_replace('/>', '>', (string)$element);
$element = (string)$element;
$line = str_replace('/>', '>', $element);

if ($this->minifyHtml) {
if (strlen($line))
Expand Down

0 comments on commit 16e03e0

Please sign in to comment.