mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-18 03:00:29 +00:00
Fix restriction — must be string
This commit is contained in:
parent
6dcbec74c3
commit
c934b05a49
|
@ -2,7 +2,7 @@
|
|||
|
||||
class SpecialPortableInfoboxBuilder extends SpecialPage {
|
||||
public function __construct() {
|
||||
$restriction = $this->getConfig()->get( 'NamespaceProtection' )[NS_TEMPLATE] ?? '';
|
||||
$restriction = $this->getConfig()->get( 'NamespaceProtection' )[NS_TEMPLATE][0] ?? '';
|
||||
parent::__construct( 'PortableInfoboxBuilder', $restriction );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue