fixed the hash, now onward & upward

This commit is contained in:
friendica
2012-11-02 00:19:04 -07:00
parent 37653a3760
commit 83cf11dd95
4 changed files with 7 additions and 6 deletions

View File

@@ -78,13 +78,11 @@ function new_contact($uid,$url,$channel,$interactive = false) {
$global_perms = get_perms();
foreach($j->permissions as $k => $v) {
logger('perm: ' . $k . ' = ' . $v);
logger('global: ' . print_r($global_perms[$k],true));
if($v)
if($v) {
$their_perms = $their_perms | intval($global_perms[$k][1]);
}
}
logger('Permissions: ' . $their_perms);