[stable9] Use explode() instead of split

Upstream from https://github.com/owncloud/core/pull/25488
This commit is contained in:
Lukas Reschke 2016-07-20 14:37:34 +02:00
parent 2e6f7a66cf
commit c008346c08
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class OC_Files {
* @return array $rangeArray ('from'=>int,'to'=>int), ...
*/
private static function parseHttpRangeHeader($rangeHeaderPos, $fileSize) {
$rArray=split(',', $rangeHeaderPos);
$rArray=explode(',', $rangeHeaderPos);
$minOffset = 0;
$ind = 0;