diff options
author | Martin Beckmann <gn#36@phpbb.de> | 2016-02-27 15:14:31 +0100 |
---|---|---|
committer | Martin Beckmann <gn#36@phpbb.de> | 2016-02-27 15:17:17 +0100 |
commit | 5d579631d73339dbc5c1265a969db30f220d3630 (patch) | |
tree | 7452d123d4158aa712d676cde5611bdbd72160bc /phpBB | |
parent | a35314c6ea38cfe3878fe68ac3d0453caafe30e1 (diff) | |
download | forums-5d579631d73339dbc5c1265a969db30f220d3630.tar forums-5d579631d73339dbc5c1265a969db30f220d3630.tar.gz forums-5d579631d73339dbc5c1265a969db30f220d3630.tar.bz2 forums-5d579631d73339dbc5c1265a969db30f220d3630.tar.xz forums-5d579631d73339dbc5c1265a969db30f220d3630.zip |
[ticket/14443] substr($var, 0, 1) -> $var[0]
PHPBB3-14443
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions_messenger.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index 6cef791814..89f8e76dd3 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -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(); |