well that really stuffed things up...
This commit is contained in:
		| @@ -1479,7 +1479,7 @@ function item_store($arr,$allow_exec = false) { | ||||
| 	$arr['changed']       = datetime_convert(); | ||||
| 	$arr['location']      = ((x($arr,'location'))      ? notags(trim($arr['location']))      : ''); | ||||
| 	$arr['coord']         = ((x($arr,'coord'))         ? notags(trim($arr['coord']))         : ''); | ||||
| 	$arr['parent_mid']    = ((x($arr,'parent_mid'))    ? notags(trim($arr['parent_mid']))    : $arr['mid']); | ||||
| 	$arr['parent_mid']    = ((x($arr,'parent_mid'))    ? notags(trim($arr['parent_mid']))    : ''); | ||||
| 	$arr['thr_parent']    = ((x($arr,'thr_parent'))    ? notags(trim($arr['thr_parent']))    : $arr['parent_mid']); | ||||
| 	$arr['verb']          = ((x($arr,'verb'))          ? notags(trim($arr['verb']))          : ''); | ||||
| 	$arr['obj_type']      = ((x($arr,'obj_type'))      ? notags(trim($arr['obj_type']))      : ''); | ||||
|   | ||||
| @@ -945,9 +945,9 @@ function public_recips($msg) { | ||||
|  | ||||
| 	 | ||||
| 	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 . " ) or ( " . $col . " & " . PERMS_PUBLIC . ")) ";				 | ||||
| 	else | ||||
| 		$sql = " where ( " . $col . " & " . PERMS_NETWORK . " ) " ; | ||||
| 		$sql = " where (( " . $col . " & " . PERMS_NETWORK . " )  or ( "  . $col . " & " . PERMS_PUBLIC . ")) "; | ||||
|  | ||||
| 	$r = q("select channel_hash as hash from channel " . $sql ); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user