- if ($otherpartyname) {
- $where .= " AND (log.username LIKE ".pwEscape('%'.$otherpartyname.'%').
- " OR author LIKE ".pwEscape('%'.$otherpartyname.'%').
- " OR log.fromusername LIKE " . pwEscape('%' . $otherpartyname . '%');
- $pageUrl .= 'otherpartyname='.$otherpartyname.'&';
- }