diff options
author | Nicofuma <github@nicofuma.fr> | 2015-05-08 17:37:52 +0200 |
---|---|---|
committer | Nicofuma <github@nicofuma.fr> | 2015-05-08 17:37:52 +0200 |
commit | 98db63e8ccf7effd4213f3ef2b1152c5f6ef6295 (patch) | |
tree | 5d3eaf8b614d742ce4b4e41462687de04fb99457 | |
parent | 83e9cdeebceebb034bc255d959f7fe4e94675c82 (diff) | |
parent | 571f6dc9b53068ac655924616022e92d0e1c1ce9 (diff) | |
download | forums-98db63e8ccf7effd4213f3ef2b1152c5f6ef6295.tar forums-98db63e8ccf7effd4213f3ef2b1152c5f6ef6295.tar.gz forums-98db63e8ccf7effd4213f3ef2b1152c5f6ef6295.tar.bz2 forums-98db63e8ccf7effd4213f3ef2b1152c5f6ef6295.tar.xz forums-98db63e8ccf7effd4213f3ef2b1152c5f6ef6295.zip |
Merge pull request #3599 from marc1706/ticket/13825
[ticket/13825] Correctly call phpbb_filesystem in create_thumbnail
-rw-r--r-- | phpBB/includes/functions_posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 4233395574..fcab667cb2 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -822,7 +822,7 @@ function create_thumbnail($source, $destination, $mimetype) try { - $this->filesystem->phpbb_chmod($destination, CHMOD_READ | CHMOD_WRITE); + $phpbb_filesystem->phpbb_chmod($destination, CHMOD_READ | CHMOD_WRITE); } catch (\phpbb\filesystem\exception\filesystem_exception $e) { |