mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14443] substr($var, 0, 1) -> $var[0]
PHPBB3-14443
This commit is contained in:
parent
a35314c6ea
commit
5d579631d7
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ class messenger
|
|||
{
|
||||
global $config, $phpbb_root_path, $phpEx, $user, $phpbb_extension_manager;
|
||||
|
||||
$template_dir_prefix = (!$template_dir_prefix || substr($template_dir_prefix, 0, 1) === '/') ? $template_dir_prefix : '/' . $template_dir_prefix;
|
||||
$template_dir_prefix = (!$template_dir_prefix || $template_dir_prefix[0] === '/') ? $template_dir_prefix : '/' . $template_dir_prefix;
|
||||
|
||||
$this->setup_template();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue