aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_module.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-04 14:09:50 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-04 14:09:50 -0500
commit38700a80f805ae32632d88254e714699b8435f61 (patch)
tree554d2a04fe27b434a19f131cb244a9cfadc10ea7 /phpBB/includes/functions_module.php
parent24be21636656bf636738449488da3810e489b4a7 (diff)
downloadforums-38700a80f805ae32632d88254e714699b8435f61.tar
forums-38700a80f805ae32632d88254e714699b8435f61.tar.gz
forums-38700a80f805ae32632d88254e714699b8435f61.tar.bz2
forums-38700a80f805ae32632d88254e714699b8435f61.tar.xz
forums-38700a80f805ae32632d88254e714699b8435f61.zip
[feature/twig] Fix copy/pasted code
PHPBB3-11598
Diffstat (limited to 'phpBB/includes/functions_module.php')
-rw-r--r--phpBB/includes/functions_module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php
index 5a8ac276cd..85ff41500f 100644
--- a/phpBB/includes/functions_module.php
+++ b/phpBB/includes/functions_module.php
@@ -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';