Commit b0f7e6fe authored by Sylvain's avatar Sylvain

Correction attribute permission Bt4

parent 922dbcc5
...@@ -140,7 +140,9 @@ EOT; ...@@ -140,7 +140,9 @@ EOT;
$template = ' %s="%s"'; $template = ' %s="%s"';
foreach ($attrs as $name => $value) { foreach ($attrs as $name => $value) {
$render .= vsprintf($template, [$name, $value]); if ($name != 'permission') {
$render .= vsprintf($template, [$name, $value]);
}
} }
return $render; return $render;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment