relationship direction was too confusing to work with. instead of "in,out,both" it's now declared by role e.g. "vip,fan,bud".
This commit is contained in:
@@ -38,7 +38,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p
|
||||
// to one recipient. By default our selector allows multiple selects amongst all contacts.
|
||||
|
||||
if($privmail) {
|
||||
$sql_extra = sprintf(" AND `rel` = %d ", intval(DIRECTION_BOTH));
|
||||
$sql_extra = sprintf(" AND `rel` = %d ", intval(REL_BUD));
|
||||
$o .= "<select name=\"$selname\" id=\"$selclass\" class=\"$selclass\" size=\"$size\" >\r\n";
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user