]> source.dussan.org Git - nextcloud-server.git/commit
Fix: The check if upload_max_filesize or post_max_size is 0 fails if only one of...
authorRoland Hager <roland.hager@tu-berlin.de>
Thu, 13 Jun 2013 07:18:50 +0000 (09:18 +0200)
committerRoland Hager <roland.hager@tu-berlin.de>
Fri, 21 Jun 2013 07:33:06 +0000 (09:33 +0200)
commita06d901e3782a58f3f98bac4eca81430e56089ae
tree7b3836a0988133df987bcdf973542a55616ef929
parent8c923a85dee0af07960c05902b187a0e7cbca34e
Fix: The check if upload_max_filesize or post_max_size is 0 fails if only one of them is 0.

$upload_max_filesize and $post_max_size need to be casted to (int) to match "=== 0"
lib/helper.php