diff options
author | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-22 04:28:40 -0400 |
---|---|---|
committer | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-22 04:28:40 -0400 |
commit | 22c51b27efd04c8fc2c0664d21d7f733c7f36944 (patch) | |
tree | 788aa944fde506ac709e602219e1391c8806ef4b | |
parent | 334b840c3edba51745d419c4f0c41b42dd411b80 (diff) |
No errors if it's not set
darcs-hash:20080722082840-533db-6df7b1fe05bbcaef6862d3e9b5ee3bcd277523e7.gz
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index ea3ef3b21..9e3bc3d49 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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) { |