summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util.php2
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) {