Merge pull request #9288 from owncloud/fix_dispatcher_null_values

don't typecast null values inside dispatcher.php
remotes/origin/ldap_group_count
Morris Jobke 11 years ago
commit 904e3102d3
  1. 2
      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);
}

Loading…
Cancel
Save