diff options
author | friendica <info@friendica.com> | 2013-05-19 20:16:05 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-19 20:16:05 -0700 |
commit | 1f921a51ae7c2b608e89a238e206ba5539eeb3c4 (patch) | |
tree | df2e61467be22668bb7a3eba3165ca21227a942d | |
parent | f9fec7cf8f328f44a5550d50029ad115311eb45a (diff) | |
download | volse-hubzilla-1f921a51ae7c2b608e89a238e206ba5539eeb3c4.tar.gz volse-hubzilla-1f921a51ae7c2b608e89a238e206ba5539eeb3c4.tar.bz2 volse-hubzilla-1f921a51ae7c2b608e89a238e206ba5539eeb3c4.zip |
typo in auto permissions
-rwxr-xr-x | boot.php | 7 | ||||
-rw-r--r-- | include/zot.php | 2 |
2 files changed, 6 insertions, 3 deletions
@@ -721,8 +721,11 @@ class App { function set_baseurl($url) { - if(is_array($this->config) && array_key_exists('system',$this->config) && - array_key_exists('baseurl',$this->config['system']) && strlen($this->config['system']['baseurl'])) { + if(is_array($this->config) + && array_key_exists('system',$this->config) + && is_array($this->config['system']) + && array_key_exists('baseurl',$this->config['system']) + && strlen($this->config['system']['baseurl'])) { $url = $this->config['system']['baseurl']; } diff --git a/include/zot.php b/include/zot.php index 608c3877d..2eb3b5eb0 100644 --- a/include/zot.php +++ b/include/zot.php @@ -367,7 +367,7 @@ function zot_refresh($them,$channel = null) { intval(ABOOK_FLAG_SELF) ); if($z) - proc_run('php','include/notifier.php','permissions_update',$z[0]['abook_id']); + proc_run('php','include/notifier.php','permission_update',$z[0]['abook_id']); } } } |