mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
[feature/twig] Fix copy/pasted code
PHPBB3-11598
This commit is contained in:
@@ -499,7 +499,7 @@ class p_master
|
||||
$module_dir = explode('_', get_class($this->module));
|
||||
|
||||
// 0 phpbb, 1 ext, 2 vendor, 3 extension name, ...
|
||||
if (!is_null($this->style) && isset($module_dir[3]) && $module_dir[1] === 'ext')
|
||||
if (isset($module_dir[3]) && $module_dir[1] === 'ext')
|
||||
{
|
||||
$module_style_dir = 'ext/' . $module_dir[2] . '/' . $module_dir[3] . '/styles';
|
||||
|
||||
|
Reference in New Issue
Block a user