summaryrefslogtreecommitdiffstats
path: root/lib/helper.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-22 16:45:57 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-22 16:45:57 +0100
commiteabfd9b69b11fd0859dee919d702b39bd50369dd (patch)
tree1698b3e37944d4c2502d61c3802647b0eed3959d /lib/helper.php
parentd8137fdf66a513d0de4bb234d0427ff27ca40106 (diff)
downloadnextcloud-server-eabfd9b69b11fd0859dee919d702b39bd50369dd.tar.gz
nextcloud-server-eabfd9b69b11fd0859dee919d702b39bd50369dd.zip
put value assignment into brackets
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 7420a79eb2d..41985ca57a7 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -516,7 +516,7 @@ class OC_Helper {
$result = true;
$count = 0;
while(!feof($source)) {
- if ($c = fwrite($target, fread($source, 8192)) === false) {
+ if ( ( $c = fwrite($target, fread($source, 8192)) ) === false) {
$result = false;
} else {
$count += $c;