diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-07-02 15:29:33 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-07-02 15:29:33 +0200 |
commit | 904e3102d31e9572cd6d9202e3489d725ce180f1 (patch) | |
tree | 399672a4ade804180309c4f83cfe778c5de52a00 | |
parent | 59629e688c3cc470279576524eac93041c253147 (diff) | |
parent | c30bea45e99d4a3b11c4729356d55092e2ec56eb (diff) | |
download | nextcloud-server-904e3102d31e9572cd6d9202e3489d725ce180f1.tar.gz nextcloud-server-904e3102d31e9572cd6d9202e3489d725ce180f1.zip |
Merge pull request #9288 from owncloud/fix_dispatcher_null_values
don't typecast null values inside dispatcher.php
-rw-r--r-- | lib/private/appframework/http/dispatcher.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/appframework/http/dispatcher.php b/lib/private/appframework/http/dispatcher.php index fa8d3c47a8b..7f2717951a5 100644 --- a/lib/private/appframework/http/dispatcher.php +++ b/lib/private/appframework/http/dispatcher.php @@ -145,7 +145,7 @@ class Dispatcher { ) { $value = false; - } elseif(in_array($type, $types)) { + } elseif($value !== null && in_array($type, $types)) { settype($value, $type); } |