diff options
author | redmatrix <git@macgirvin.com> | 2016-05-17 19:49:21 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-17 19:49:21 -0700 |
commit | 43c2b22fca908cb5c7bb740855cbd9d04e085d62 (patch) | |
tree | 564b44ee9b2850f3299494bf0dfaf528d90a9501 /Zotlabs | |
parent | 9a64c6b9f79a032e192eac31be10017bf8f5fa18 (diff) | |
download | volse-hubzilla-43c2b22fca908cb5c7bb740855cbd9d04e085d62.tar.gz volse-hubzilla-43c2b22fca908cb5c7bb740855cbd9d04e085d62.tar.bz2 volse-hubzilla-43c2b22fca908cb5c7bb740855cbd9d04e085d62.zip |
cli utilities - argc and argv reversed. Not functionally incorrect since it was consistent but aesthetically incorrect.
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Project/System.php | 2 |
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; } |