mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +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));
|
$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';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user