diff options
author | Andreas Fischer <bantu@phpbb.com> | 2010-07-01 23:29:25 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2010-07-01 23:29:25 +0200 |
commit | 32882fd798ae0fe7e51f5c7ef2ff8501a5b57251 (patch) | |
tree | dc773722d0a594a02e4b3605079881acb897eb39 /phpBB/download | |
parent | b7ae0fe4e91be1f7dc1d38d2c3c1e5b043d95739 (diff) | |
download | forums-32882fd798ae0fe7e51f5c7ef2ff8501a5b57251.tar forums-32882fd798ae0fe7e51f5c7ef2ff8501a5b57251.tar.gz forums-32882fd798ae0fe7e51f5c7ef2ff8501a5b57251.tar.bz2 forums-32882fd798ae0fe7e51f5c7ef2ff8501a5b57251.tar.xz forums-32882fd798ae0fe7e51f5c7ef2ff8501a5b57251.zip |
[ticket/9694] Make sure string offset 0 exists to avoid E_NOTICE message.
PHPBB3-9694
Diffstat (limited to 'phpBB/download')
-rw-r--r-- | phpBB/download/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php index 2154847865..03a37a58b4 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -61,7 +61,7 @@ if (isset($_GET['avatar'])) $avatar_group = false; $exit = false; - if ($filename[0] === 'g') + if (isset($filename[0]) && $filename[0] === 'g') { $avatar_group = true; $filename = substr($filename, 1); |