add detailed logging to public recips - find out why some public recipients are getting bypassed (David Benfells' problem with tagging groups, etc.)
This commit is contained in:
parent
af72f40759
commit
32ff0932bf
@ -928,6 +928,8 @@ function public_recips($msg) {
|
|||||||
if(! $col)
|
if(! $col)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
logger('__public_recips');
|
||||||
|
dbg(1);
|
||||||
if($msg['notify']['sender']['url'] === z_root())
|
if($msg['notify']['sender']['url'] === z_root())
|
||||||
$sql = " where (( " . $col . " & " . PERMS_NETWORK . " ) or ( " . $col . " & " . PERMS_SITE . " )) ";
|
$sql = " where (( " . $col . " & " . PERMS_NETWORK . " ) or ( " . $col . " & " . PERMS_SITE . " )) ";
|
||||||
else
|
else
|
||||||
@ -945,6 +947,7 @@ function public_recips($msg) {
|
|||||||
|
|
||||||
if(! $x)
|
if(! $x)
|
||||||
$x = array();
|
$x = array();
|
||||||
|
dbg(0);
|
||||||
|
|
||||||
$r = array_merge($r,$x);
|
$r = array_merge($r,$x);
|
||||||
logger('public_recips: ' . print_r($r,true), LOGGER_DATA);
|
logger('public_recips: ' . print_r($r,true), LOGGER_DATA);
|
||||||
|
Reference in New Issue
Block a user