diff options
author | Friendika <info@friendika.com> | 2011-03-09 14:39:18 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-09 14:39:18 -0800 |
commit | 1c779e20618baf0d348ad52bc877d9a7a7923641 (patch) | |
tree | 454ebe8d95085d424fa4614f98709ca3219f855d /addon/twitter | |
parent | 6f9eadfe6e73bf20765228915bf41d0e673414ce (diff) | |
download | volse-hubzilla-1c779e20618baf0d348ad52bc877d9a7a7923641.tar.gz volse-hubzilla-1c779e20618baf0d348ad52bc877d9a7a7923641.tar.bz2 volse-hubzilla-1c779e20618baf0d348ad52bc877d9a7a7923641.zip |
fb "post by default" implemented, post_by_default logic fixed for other plugins
Diffstat (limited to 'addon/twitter')
-rw-r--r-- | addon/twitter/twitter.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 .= '<div class="profile-jot-net"><input type="checkbox" name="twitter_enable"' . $selected . 'value="1" /> ' . t('Post to Twitter') . '</div>'; } |