From 1c779e20618baf0d348ad52bc877d9a7a7923641 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 9 Mar 2011 14:39:18 -0800 Subject: fb "post by default" implemented, post_by_default logic fixed for other plugins --- addon/twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addon/twitter/twitter.php') diff --git a/addon/twitter/twitter.php b/addon/twitter/twitter.php index db283e1a9..bb424fb65 100644 --- a/addon/twitter/twitter.php +++ b/addon/twitter/twitter.php @@ -59,7 +59,7 @@ function twitter_jot_nets(&$a,&$b) { $tw_post = get_pconfig(local_user(),'twitter','post'); if(intval($tw_post) == 1) { $tw_defpost = get_pconfig(local_user(),'twitter','post_by_default'); - $selected = ((intval($tw_defpost == 1)) ? ' selected="selected" ' : ''); + $selected = ((intval($tw_defpost) == 1) ? ' checked="checked" ' : ''); $b .= '
' . t('Post to Twitter') . '
'; } -- cgit v1.2.3