put value assignment into brackets

This commit is contained in:
Björn Schießle 2013-02-22 16:45:57 +01:00
parent d8137fdf66
commit eabfd9b69b

View file

@ -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;