diff options
author | Georg Ehrke <developer@georgehrke.com> | 2014-06-29 22:40:50 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2014-06-29 22:40:50 +0200 |
commit | c30bea45e99d4a3b11c4729356d55092e2ec56eb (patch) | |
tree | a9f6e49876c57c15d2bf5a0f9b0d16e8b6a87301 | |
parent | 67d029a21e307270a2cd1ffcc32ea83e70058b93 (diff) | |
download | nextcloud-server-c30bea45e99d4a3b11c4729356d55092e2ec56eb.tar.gz nextcloud-server-c30bea45e99d4a3b11c4729356d55092e2ec56eb.zip |
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); } |