aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2017-08-28 15:11:12 +0200
committerRubén Calvo <rubencm@gmail.com>2017-08-28 17:55:19 +0200
commitda3c9b3de7539af27e179eb2cb0e3fee0a5658ae (patch)
tree806c9f6c6079f2bbd42591895f950373a0fb0618 /phpBB/phpbb/files
parent[ticket/15276] Use stream_copy_to_stream (diff)
downloadphpbb-da3c9b3de7539af27e179eb2cb0e3fee0a5658ae.tar.gz
phpbb-da3c9b3de7539af27e179eb2cb0e3fee0a5658ae.tar.bz2
phpbb-da3c9b3de7539af27e179eb2cb0e3fee0a5658ae.zip
[ticket/15276] Fix code and add phpdoc
PHPBB3-15276
Diffstat (limited to 'phpBB/phpbb/files')
-rw-r--r--phpBB/phpbb/files/types/remote_storage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/files/types/remote_storage.php b/phpBB/phpbb/files/types/remote_storage.php
index 92dbfd1d8e..16c061655c 100644
--- a/phpBB/phpbb/files/types/remote_storage.php
+++ b/phpBB/phpbb/files/types/remote_storage.php
@@ -141,7 +141,7 @@ class remote_storage extends base
return $this->factory->get('filespec')->set_error($this->language->lang($this->upload->error_prefix . 'WRONG_FILESIZE', $max_filesize['value'], $max_filesize['unit']));
}
- if ($content_length == 0)
+ if ($content_length === 0)
{
return $this->factory->get('filespec')->set_error($this->upload->error_prefix . 'EMPTY_REMOTE_DATA');
}