From c30bea45e99d4a3b11c4729356d55092e2ec56eb Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sun, 29 Jun 2014 22:40:50 +0200 Subject: [PATCH] don't typecast null values inside dispatcher.php --- lib/private/appframework/http/dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/appframework/http/dispatcher.php b/lib/private/appframework/http/dispatcher.php index fa8d3c47a8..7f2717951a 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); }