Skip to content

Commit 16e03e0

Browse files
committed
Fix admin permissions page in PHP 8
1 parent 5641be5 commit 16e03e0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

qa-include/qa-theme-base.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ public function qa_html_theme_base($template, $content, $rooturl, $request)
9595
public function output_array($elements)
9696
{
9797
foreach ($elements as $element) {
98-
$line = str_replace('/>', '>', (string)$element);
98+
$element = (string)$element;
99+
$line = str_replace('/>', '>', $element);
99100

100101
if ($this->minifyHtml) {
101102
if (strlen($line))

0 commit comments

Comments
 (0)