mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/twig] Fix copy/pasted code
PHPBB3-11598
This commit is contained in:
parent
24be216366
commit
38700a80f8
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ class p_master
|
||||||
$module_dir = explode('_', get_class($this->module));
|
$module_dir = explode('_', get_class($this->module));
|
||||||
|
|
||||||
// 0 phpbb, 1 ext, 2 vendor, 3 extension name, ...
|
// 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';
|
$module_style_dir = 'ext/' . $module_dir[2] . '/' . $module_dir[3] . '/styles';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue