Don't add regexp for custom namespaces empty if none are registered

This commit is contained in:
Kijin Sung 2023-08-11 02:06:35 +09:00
parent 32832d1ab2
commit a5bc18f015

View file

@ -1484,10 +1484,6 @@ class ModuleController extends Module
{
$namespaces['regexp'] = '!^(' . implode('|', $regexp) . ')/(\\w+/)*(\\w+)$!';
}
else
{
$namespaces['regexp'] = '';
}
// Update system configuration.
if ($changed)