Permalink
Browse files

Cause stream.php to actually iterate along the string rather than rep…

…eating the beginning.
  • Loading branch information...
aaronschmitz committed Apr 2, 2012
1 parent d8c451c commit 49e6ac3fbdcea76602498af20aeab558ff9bcfba
Showing with 1 addition and 0 deletions.
  1. +1 −0 libraries/joomla/filesystem/stream.php
@@ -797,6 +797,7 @@ public function write(&$string, $length = 0, $chunk = 0)
else
{
// Wrote something
+ $string = substr($string, $amount);
$remaining -= $res;
}
}

0 comments on commit 49e6ac3

Please sign in to comment.