Merge pull request #9288 from owncloud/fix_dispatcher_null_values
don't typecast null values inside dispatcher.php
This commit is contained in:
commit
904e3102d3
|
@ -145,7 +145,7 @@ class Dispatcher {
|
|||
) {
|
||||
$value = false;
|
||||
|
||||
} elseif(in_array($type, $types)) {
|
||||
} elseif($value !== null && in_array($type, $types)) {
|
||||
settype($value, $type);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue