forked from GNUsocial/gnu-social
No errors if it's not set
darcs-hash:20080722082840-533db-6df7b1fe05bbcaef6862d3e9b5ee3bcd277523e7.gz
This commit is contained in:
parent
334b840c3e
commit
22c51b27ef
@ -1369,7 +1369,7 @@ function common_negotiate_type($cprefs, $sprefs) {
|
||||
|
||||
function common_config($main, $sub) {
|
||||
global $config;
|
||||
return $config[$main][$sub];
|
||||
return isset($config[$main][$sub]) ? $config[$main][$sub] : false;
|
||||
}
|
||||
|
||||
function common_copy_args($from) {
|
||||
|
Loading…
Reference in New Issue
Block a user