No errors if it's not set

darcs-hash:20080722082840-533db-6df7b1fe05bbcaef6862d3e9b5ee3bcd277523e7.gz
This commit is contained in:
Mike Cochrane 2008-07-22 04:28:40 -04:00
parent 334b840c3e
commit 22c51b27ef

View File

@ -1369,7 +1369,7 @@ function common_negotiate_type($cprefs, $sprefs) {
function common_config($main, $sub) { function common_config($main, $sub) {
global $config; global $config;
return $config[$main][$sub]; return isset($config[$main][$sub]) ? $config[$main][$sub] : false;
} }
function common_copy_args($from) { function common_copy_args($from) {