aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Project
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Project')
-rw-r--r--Zotlabs/Project/System.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Project/System.php b/Zotlabs/Project/System.php
index f61313da0..7ee848411 100644
--- a/Zotlabs/Project/System.php
+++ b/Zotlabs/Project/System.php
@@ -5,7 +5,7 @@ namespace Zotlabs\Project;
class System {
static public function get_platform_name() {
- if(is_array(\App::$config) && is_array(\App::$config['system']) && \App::$config['system']['platform_name'])
+ if(is_array(\App::$config) && is_array(\App::$config['system']) && array_key_exists('platform_name',\App::$config['system']))
return \App::$config['system']['platform_name'];
return PLATFORM_NAME;
}