coverup and ignore the illegal string offset message that some sites have been reporting. This does not fix it. A fix would be to examine the data that has been received and find out why it is mangled and trace this back to where it was mangled.
This commit is contained in:
+3
-1
@@ -1110,7 +1110,9 @@ function zot_import($arr, $sender_url) {
|
||||
logger('specific recipients');
|
||||
$recip_arr = array();
|
||||
foreach($i['notify']['recipients'] as $recip) {
|
||||
$recip_arr[] = make_xchan_hash($recip['guid'],$recip['guid_sig']);
|
||||
if(is_array($recip)) {
|
||||
$recip_arr[] = make_xchan_hash($recip['guid'],$recip['guid_sig']);
|
||||
}
|
||||
}
|
||||
stringify_array_elms($recip_arr);
|
||||
$recips = implode(',',$recip_arr);
|
||||
|
||||
Reference in New Issue
Block a user