Re: Plugin: Default Friend 0.1
FYI security bug in the above: see below for the change.
function default_friend_options() {
if(isset($_POST)) {
check_admin_referer('bp-default-friend');
$default_friend_id = $_POST;
update_option( 'bp-default-friend-id', $default_friend_id );
echo "<div id="message" class="updated fade">Options updated.</div>";
}