these were some really difficult bugs to find

This commit is contained in:
redmatrix 2015-08-03 21:13:17 -07:00
parent ae15dde8fb
commit 6826b4ad32
3 changed files with 3 additions and 4 deletions

View File

@ -265,8 +265,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
); );
if($r) { if($r) {
$result['abook'] = $r[0]; $result['abook'] = $r[0];
if($is_red) proc_run('php', 'include/notifier.php', 'permission_update', $result['abook']['abook_id']);
proc_run('php', 'include/notifier.php', 'permission_update', $result['abook']['abook_id']);
} }
$arr = array('channel_id' => $uid, 'abook' => $result['abook']); $arr = array('channel_id' => $uid, 'abook' => $result['abook']);

View File

@ -161,7 +161,7 @@ function filter_insecure($channel_id, $arr) {
$ret = array(); $ret = array();
if((! intval(get_config($channel_id, 'system', 'filter_insecure_collections'))) || (! $arr)) if((! intval(get_pconfig($channel_id, 'system', 'filter_insecure_collections'))) || (! $arr))
return $arr; return $arr;
$str = ''; $str = '';

View File

@ -1 +1 @@
2015-08-02.1112 2015-08-03.1113