Skip to content
Snippets Groups Projects
Commit af01c043 authored by Robin Appelman's avatar Robin Appelman
Browse files

Merge pull request #19533 from owncloud/free-space-inf

Work around INF=0 on some shared hosts
parents 54e19d7c a1d0d23b
No related branches found
No related tags found
No related merge requests found
......@@ -742,7 +742,7 @@ class OC_Helper {
$freeSpace = max($freeSpace, 0);
return $freeSpace;
} else {
return INF;
return (INF > 0)? INF: PHP_INT_MAX; // work around https://bugs.php.net/bug.php?id=69188
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment