typo in auto permissions

This commit is contained in:
friendica 2013-05-19 20:16:05 -07:00
parent f9fec7cf8f
commit 1f921a51ae
2 changed files with 6 additions and 3 deletions

View File

@ -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'];
}

View File

@ -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']);
}
}
}