diff options
author | Marc Alexander <admin@m-a-styles.de> | 2012-11-12 16:27:45 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2012-11-12 16:27:45 +0100 |
commit | 940d768592f811e7509ca651f09de89e474cc359 (patch) | |
tree | cdef2fe270d0884f8c4b4f9a924af49e2a9a188f /phpBB/includes/avatar/driver | |
parent | 4c4b82416b8c7b3a8f97b12ca96699bea0bde91d (diff) | |
download | forums-940d768592f811e7509ca651f09de89e474cc359.tar forums-940d768592f811e7509ca651f09de89e474cc359.tar.gz forums-940d768592f811e7509ca651f09de89e474cc359.tar.bz2 forums-940d768592f811e7509ca651f09de89e474cc359.tar.xz forums-940d768592f811e7509ca651f09de89e474cc359.zip |
[feature/avatars] Fix coding guidelines infractions
Diffstat (limited to 'phpBB/includes/avatar/driver')
-rw-r--r-- | phpBB/includes/avatar/driver/core/local.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/avatar/driver/core/local.php b/phpBB/includes/avatar/driver/core/local.php index ca82b9c175..a8ed8ad130 100644 --- a/phpBB/includes/avatar/driver/core/local.php +++ b/phpBB/includes/avatar/driver/core/local.php @@ -142,7 +142,8 @@ class phpbb_avatar_driver_core_local extends phpbb_avatar_driver if ($dh) { - while (($cat = readdir($dh)) !== false) { + while (($cat = readdir($dh)) !== false) + { if ($cat[0] != '.' && preg_match('#^[^&"\'<>]+$#i', $cat) && is_dir("$path/$cat")) { if ($ch = @opendir("$path/$cat")) |