Merge pull request #9288 from owncloud/fix_dispatcher_null_values

don't typecast null values inside dispatcher.php
This commit is contained in:
Morris Jobke 2014-07-02 15:29:33 +02:00
commit 904e3102d3
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class Dispatcher {
) {
$value = false;
} elseif(in_array($type, $types)) {
} elseif($value !== null && in_array($type, $types)) {
settype($value, $type);
}